Class AzureSku


  • public final class AzureSku
    extends Object
    Azure SKU definition.
    • Constructor Detail

      • AzureSku

        public AzureSku()
    • Method Detail

      • name

        public SkuName name()
        Get the name property: SKU name.
        Returns:
        the name value.
      • withName

        public AzureSku withName​(SkuName name)
        Set the name property: SKU name.
        Parameters:
        name - the name value to set.
        Returns:
        the AzureSku object itself.
      • capacity

        public Integer capacity()
        Get the capacity property: The number of instances of the cluster.
        Returns:
        the capacity value.
      • withCapacity

        public AzureSku withCapacity​(Integer capacity)
        Set the capacity property: The number of instances of the cluster.
        Parameters:
        capacity - the capacity value to set.
        Returns:
        the AzureSku object itself.
      • size

        public SkuSize size()
        Get the size property: SKU size.
        Returns:
        the size value.
      • withSize

        public AzureSku withSize​(SkuSize size)
        Set the size property: SKU size.
        Parameters:
        size - the size value to set.
        Returns:
        the AzureSku object itself.
      • validate

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