ClusterSku Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. ClusterSku
- com.
Implements
public final class ClusterSku
implements JsonSerializable<ClusterSku>
SKU parameters particular to a cluster instance.
Constructor Summary
Constructor | Description |
---|---|
ClusterSku() |
Creates an instance of Cluster |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
capacity()
Get the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster. |
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
Cluster |
name()
Get the name property: Name of this SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cluster |
withCapacity(Integer capacity)
Set the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster. |
Cluster |
withName(ClusterSkuName name)
Set the name property: Name of this SKU. |
Methods inherited from java.lang.Object
Constructor Details
ClusterSku
public ClusterSku()
Creates an instance of ClusterSku class.
Method Details
capacity
public Integer capacity()
Get the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.
Returns:
fromJson
public static ClusterSku fromJson(JsonReader jsonReader)
Reads an instance of ClusterSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public ClusterSkuName name()
Get the name property: Name of this SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapacity
public ClusterSku withCapacity(Integer capacity)
Set the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.
Parameters:
Returns:
withName
public ClusterSku withName(ClusterSkuName name)
Set the name property: Name of this SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java