Sku Class
- java.
lang. Object - com.
microsoft. azure. management. redis. Sku
- com.
public class Sku
SKU parameters supplied to the create Redis operation.
Constructor Summary
Constructor | Description | |
---|---|---|
Sku() |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
capacity()
Get the capacity value. |
Sku |
family()
Get the family value. |
Sku |
name()
Get the name value. |
Sku |
withCapacity(int capacity)
Set the capacity value. |
Sku |
withFamily(SkuFamily family)
Set the family value. |
Sku |
withName(SkuName name)
Set the name value. |
Methods inherited from java.lang.Object
Constructor Details
Sku
public Sku()
Method Details
capacity
public int capacity()
Get the capacity value.
Returns:
family
public SkuFamily family()
Get the family value.
Returns:
name
public SkuName name()
Get the name value.
Returns:
withCapacity
public Sku withCapacity(int capacity)
Set the capacity value.
Parameters:
Returns:
withFamily
public Sku withFamily(SkuFamily family)
Set the family value.
Parameters:
Returns:
withName
public Sku withName(SkuName name)
Set the name value.
Parameters:
Returns:
Applies to
Azure SDK for Java