public final class AzureSku extends Object
Constructor and Description |
---|
AzureSku() |
Modifier and Type | Method and Description |
---|---|
Integer |
capacity()
Get the capacity property: The number of instances of the cluster.
|
SkuName |
name()
Get the name property: SKU name.
|
SkuSize |
size()
Get the size property: SKU size.
|
void |
validate()
Validates the instance.
|
AzureSku |
withCapacity(Integer capacity)
Set the capacity property: The number of instances of the cluster.
|
AzureSku |
withName(SkuName name)
Set the name property: SKU name.
|
AzureSku |
withSize(SkuSize size)
Set the size property: SKU size.
|
public SkuName name()
public AzureSku withName(SkuName name)
name
- the name value to set.public Integer capacity()
public AzureSku withCapacity(Integer capacity)
capacity
- the capacity value to set.public SkuSize size()
public AzureSku withSize(SkuSize size)
size
- the size value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.