Class ClusterSku
java.lang.Object
com.azure.resourcemanager.eventhubs.models.ClusterSku
SKU parameters particular to a cluster instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.name()
Get the name property: Name of this SKU.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.withName
(ClusterSkuName name) Set the name property: Name of this SKU.
-
Constructor Details
-
ClusterSku
public ClusterSku()
-
-
Method Details
-
name
Get the name property: Name of this SKU.- Returns:
- the name value.
-
withName
Set the name property: Name of this SKU.- Parameters:
name
- the name value to set.- Returns:
- the ClusterSku object itself.
-
capacity
Get the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.- 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.
-