Class Sku
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.models.Sku
-
public final class Sku extends Object
SKU details.
-
-
Constructor Summary
Constructors Constructor Description Sku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkuFamilyfamily()Get the family property: SKU family name.SkuNamename()Get the name property: SKU name to specify whether the key vault is a standard vault or a premium vault.voidvalidate()Validates the instance.SkuwithFamily(SkuFamily family)Set the family property: SKU family name.SkuwithName(SkuName name)Set the name property: SKU name to specify whether the key vault is a standard vault or a premium vault.
-
-
-
Method Detail
-
family
public SkuFamily family()
Get the family property: SKU family name.- Returns:
- the family value.
-
withFamily
public Sku withFamily(SkuFamily family)
Set the family property: SKU family name.- Parameters:
family- the family value to set.- Returns:
- the Sku object itself.
-
name
public SkuName 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
public Sku withName(SkuName name)
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.
-
-