PolicySku Class
- java.
lang. Object - com.
microsoft. azure. management. resources. PolicySku
- com.
public class PolicySku
The policy sku.
Constructor Summary
Constructor | Description | |
---|---|---|
PolicySku() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Get the name of the policy sku. |
java.lang.String |
tier()
Get the policy sku tier. |
Policy |
withName(String name)
Set the name of the policy sku. |
Policy |
withTier(String tier)
Set the policy sku tier. |
Methods inherited from java.lang.Object
Constructor Details
PolicySku
public PolicySku()
Method Details
name
public String name()
Get the name of the policy sku. Possible values are A0 and A1.
Returns:
tier
public String tier()
Get the policy sku tier. Possible values are Free and Standard.
Returns:
withName
public PolicySku withName(String name)
Set the name of the policy sku. Possible values are A0 and A1.
Parameters:
Returns:
withTier
public PolicySku withTier(String tier)
Set the policy sku tier. Possible values are Free and Standard.
Parameters:
Returns:
Applies to
Azure SDK for Java