Class Sku
- java.lang.Object
-
- com.microsoft.azure.management.redis.Sku
-
public class Sku extends Object
SKU parameters supplied to the create Redis operation.
-
-
Constructor Summary
Constructors Constructor Description Sku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcapacity()Get the capacity value.SkuFamilyfamily()Get the family value.SkuNamename()Get the name value.SkuwithCapacity(int capacity)Set the capacity value.SkuwithFamily(SkuFamily family)Set the family value.SkuwithName(SkuName name)Set the name value.
-
-
-
Method Detail
-
name
public SkuName name()
Get the name value.- Returns:
- the name value
-
withName
public Sku withName(SkuName name)
Set the name value.- Parameters:
name- the name value to set- Returns:
- the Sku object itself.
-
family
public SkuFamily family()
Get the family value.- Returns:
- the family value
-
withFamily
public Sku withFamily(SkuFamily family)
Set the family value.- Parameters:
family- the family value to set- Returns:
- the Sku object itself.
-
capacity
public int capacity()
Get the capacity value.- Returns:
- the capacity value
-
withCapacity
public Sku withCapacity(int capacity)
Set the capacity value.- Parameters:
capacity- the capacity value to set- Returns:
- the Sku object itself.
-
-