Class Addon.Builder

  • Enclosing class:
    Addon

    public static class Addon.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Addon.Builder name​(String name)
        The name of the addon.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • version

        public Addon.Builder version​(String version)
        selected addon version, or null indicates autoUpdate
        Parameters:
        version - the value to set
        Returns:
        this builder
      • currentInstalledVersion

        public Addon.Builder currentInstalledVersion​(String currentInstalledVersion)
        current installed version of the addon
        Parameters:
        currentInstalledVersion - the value to set
        Returns:
        this builder
      • timeCreated

        public Addon.Builder timeCreated​(Date timeCreated)
        The time the cluster was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • lifecycleState

        public Addon.Builder lifecycleState​(AddonLifecycleState lifecycleState)
        The state of the addon.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • configurations

        public Addon.Builder configurations​(List<AddonConfiguration> configurations)
        Addon configuration details.
        Parameters:
        configurations - the value to set
        Returns:
        this builder
      • addonError

        public Addon.Builder addonError​(AddonError addonError)
        The error info of the addon.
        Parameters:
        addonError - the value to set
        Returns:
        this builder
      • build

        public Addon build()