Class ClusterSku

java.lang.Object
com.azure.resourcemanager.eventhubs.models.ClusterSku

public final class ClusterSku extends Object
SKU parameters particular to a cluster instance.
  • Constructor Details

    • ClusterSku

      public ClusterSku()
  • Method Details

    • name

      public ClusterSkuName name()
      Get the name property: Name of this SKU.
      Returns:
      the name value.
    • withName

      public ClusterSku withName(ClusterSkuName name)
      Set the name property: Name of this SKU.
      Parameters:
      name - the name value to set.
      Returns:
      the ClusterSku object itself.
    • capacity

      public Integer capacity()
      Get the capacity property: The quantity of Event Hubs Cluster Capacity Units contained in this cluster.
      Returns:
      the capacity value.
    • withCapacity

      public ClusterSku withCapacity(Integer capacity)
      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.