public final class AzureResourceSkuInner extends Object
Constructor and Description |
---|
AzureResourceSkuInner() |
Modifier and Type | Method and Description |
---|---|
AzureCapacity |
capacity()
Get the capacity property: The number of instances of the cluster.
|
String |
resourceType()
Get the resourceType property: Resource Namespace and Type.
|
AzureSku |
sku()
Get the sku property: The SKU details.
|
void |
validate()
Validates the instance.
|
AzureResourceSkuInner |
withCapacity(AzureCapacity capacity)
Set the capacity property: The number of instances of the cluster.
|
AzureResourceSkuInner |
withResourceType(String resourceType)
Set the resourceType property: Resource Namespace and Type.
|
AzureResourceSkuInner |
withSku(AzureSku sku)
Set the sku property: The SKU details.
|
public String resourceType()
public AzureResourceSkuInner withResourceType(String resourceType)
resourceType
- the resourceType value to set.public AzureSku sku()
public AzureResourceSkuInner withSku(AzureSku sku)
sku
- the sku value to set.public AzureCapacity capacity()
public AzureResourceSkuInner withCapacity(AzureCapacity 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.