Class Sku


  • public final class Sku
    extends Object
    SKU parameters supplied to the create RedisEnterprise operation.
    • Constructor Detail

      • Sku

        public Sku()
    • Method Detail

      • name

        public SkuName name()
        Get the name property: The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.).
        Returns:
        the name value.
      • withName

        public Sku withName​(SkuName name)
        Set the name property: The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.).
        Parameters:
        name - the name value to set.
        Returns:
        the Sku object itself.
      • capacity

        public Integer capacity()
        Get the capacity property: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
        Returns:
        the capacity value.
      • withCapacity

        public Sku withCapacity​(Integer capacity)
        Set the capacity property: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
        Parameters:
        capacity - the capacity value to set.
        Returns:
        the Sku object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.