Class 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 Detail

      • ClusterSku

        public ClusterSku()
    • 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.