Class ClusterSku
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.ClusterSku
-
public final class ClusterSku extends Object
The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests.
-
-
Constructor Summary
Constructors Constructor Description ClusterSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
capacity()
Get the capacity property: Denotes the number of streaming units the cluster can support.ClusterSkuName
name()
Get the name property: Specifies the SKU name of the cluster.void
validate()
Validates the instance.ClusterSku
withCapacity(Integer capacity)
Set the capacity property: Denotes the number of streaming units the cluster can support.ClusterSku
withName(ClusterSkuName name)
Set the name property: Specifies the SKU name of the cluster.
-
-
-
Method Detail
-
name
public ClusterSkuName name()
Get the name property: Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests.- Returns:
- the name value.
-
withName
public ClusterSku withName(ClusterSkuName name)
Set the name property: Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests.- Parameters:
name
- the name value to set.- Returns:
- the ClusterSku object itself.
-
capacity
public Integer capacity()
Get the capacity property: Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests.- Returns:
- the capacity value.
-
withCapacity
public ClusterSku withCapacity(Integer capacity)
Set the capacity property: Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests.- Parameters:
capacity
- the capacity value to set.- Returns:
- the ClusterSku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-