Class AzureSku
java.lang.Object
com.azure.resourcemanager.synapse.models.AzureSku
Azure SKU definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The number of instances of the cluster.name()
Get the name property: SKU name.size()
Get the size property: SKU size.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: The number of instances of the cluster.Set the name property: SKU name.Set the size property: SKU size.
-
Constructor Details
-
AzureSku
public AzureSku()Creates an instance of AzureSku class.
-
-
Method Details
-
name
Get the name property: SKU name.- Returns:
- the name value.
-
withName
Set the name property: SKU name.- Parameters:
name
- the name value to set.- Returns:
- the AzureSku object itself.
-
capacity
Get the capacity property: The number of instances of the cluster.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The number of instances of the cluster.- Parameters:
capacity
- the capacity value to set.- Returns:
- the AzureSku object itself.
-
size
Get the size property: SKU size.- Returns:
- the size value.
-
withSize
Set the size property: SKU size.- Parameters:
size
- the size value to set.- Returns:
- the AzureSku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-