Class Sku
java.lang.Object
com.azure.resourcemanager.keyvault.models.Sku
SKU details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfamily()Get the family property: SKU family name.name()Get the name property: SKU name to specify whether the key vault is a standard vault or a premium vault.voidvalidate()Validates the instance.withFamily(SkuFamily family) Set the family property: SKU family name.Set the name property: SKU name to specify whether the key vault is a standard vault or a premium vault.
-
Constructor Details
-
Sku
public Sku()Creates an instance of Sku class.
-
-
Method Details
-
family
Get the family property: SKU family name.- Returns:
- the family value.
-
withFamily
Set the family property: SKU family name.- Parameters:
family- the family value to set.- Returns:
- the Sku object itself.
-
name
Get the name property: SKU name to specify whether the key vault is a standard vault or a premium vault.- Returns:
- the name value.
-
withName
Set the name property: SKU name to specify whether the key vault is a standard vault or a premium vault.- Parameters:
name- the name value to set.- Returns:
- the Sku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-