PolicySku Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.PolicySku

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.

PolicySku withName(String name)

Set the name of the policy sku.

PolicySku withTier(String tier)

Set the policy sku tier.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the name value

tier

public String tier()

Get the policy sku tier. Possible values are Free and Standard.

Returns:

the tier value

withName

public PolicySku withName(String name)

Set the name of the policy sku. Possible values are A0 and A1.

Parameters:

name - the name value to set

Returns:

the PolicySku object itself.

withTier

public PolicySku withTier(String tier)

Set the policy sku tier. Possible values are Free and Standard.

Parameters:

tier - the tier value to set

Returns:

the PolicySku object itself.

Applies to