public final class Sku extends Object
Constructor and Description |
---|
Sku() |
Modifier and Type | Method and Description |
---|---|
Integer |
capacity()
Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included.
|
String |
name()
Get the name property: The SKU name.
|
String |
tier()
Get the tier property: The service tier.
|
void |
validate()
Validates the instance.
|
Sku |
withCapacity(Integer capacity)
Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included.
|
Sku |
withName(String name)
Set the name property: The SKU name.
|
Sku |
withTier(String tier)
Set the tier property: The service tier.
|
public String tier()
public Sku withTier(String tier)
tier
- the tier value to set.public String name()
public Sku withName(String name)
name
- the name value to set.public Integer capacity()
public Sku withCapacity(Integer capacity)
capacity
- the capacity 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.