Class AzureSku
- java.lang.Object
-
- com.azure.resourcemanager.kusto.models.AzureSku
-
public final class AzureSku extends Object
Azure SKU definition.
-
-
Constructor Summary
Constructors Constructor Description AzureSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
capacity()
Get the capacity property: The number of instances of the cluster.AzureSkuName
name()
Get the name property: SKU name.AzureSkuTier
tier()
Get the tier property: SKU tier.void
validate()
Validates the instance.AzureSku
withCapacity(Integer capacity)
Set the capacity property: The number of instances of the cluster.AzureSku
withName(AzureSkuName name)
Set the name property: SKU name.AzureSku
withTier(AzureSkuTier tier)
Set the tier property: SKU tier.
-
-
-
Method Detail
-
name
public AzureSkuName name()
Get the name property: SKU name.- Returns:
- the name value.
-
withName
public AzureSku withName(AzureSkuName name)
Set the name property: SKU name.- Parameters:
name
- the name value to set.- Returns:
- the AzureSku object itself.
-
capacity
public Integer capacity()
Get the capacity property: The number of instances of the cluster.- Returns:
- the capacity value.
-
withCapacity
public AzureSku withCapacity(Integer capacity)
Set the capacity property: The number of instances of the cluster.- Parameters:
capacity
- the capacity value to set.- Returns:
- the AzureSku object itself.
-
tier
public AzureSkuTier tier()
Get the tier property: SKU tier.- Returns:
- the tier value.
-
withTier
public AzureSku withTier(AzureSkuTier tier)
Set the tier property: SKU tier.- Parameters:
tier
- the tier value to set.- Returns:
- the AzureSku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-