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
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
Sku
public Sku()
Method Details
capacity
public int capacity()
Get the capacity value.
Returns:
the capacity value
family
public SkuFamily family()
Get the family value.
Returns:
the family value
name
public SkuName name()
Get the name value.
Returns:
the name value
withCapacity
public Sku withCapacity(int capacity)
Set the capacity value.
Parameters:
capacity
- the capacity value to set
Returns:
the Sku object itself.
withFamily
public Sku withFamily(SkuFamily family)
Set the family value.
Parameters:
family
- the family value to set
Returns:
the Sku object itself.
withName
public Sku withName(SkuName name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the Sku object itself.