Package org.cdk8s

Class HelmProps.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<HelmProps>
    Enclosing interface:
    HelmProps

    @Stability(Stable)
    public static final class HelmProps.Builder
    extends Object
    implements software.amazon.jsii.Builder<HelmProps>
    A builder for HelmProps
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • chart

        @Stability(Stable)
        public HelmProps.Builder chart​(String chart)
        Sets the value of HelmProps.getChart()
        Parameters:
        chart - The chart name to use. It can be a chart from a helm repository or a local directory. This parameter is required. This name is passed to helm template and has all the relevant semantics.
        Returns:
        this
      • helmExecutable

        @Stability(Stable)
        public HelmProps.Builder helmExecutable​(String helmExecutable)
        Parameters:
        helmExecutable - The local helm executable to use in order to create the manifest the chart.
        Returns:
        this
      • version

        @Stability(Stable)
        public HelmProps.Builder version​(String version)
        Sets the value of HelmProps.getVersion()
        Parameters:
        version - Version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used

        This name is passed to helm template --version and has all the relevant semantics.

        Returns:
        this
      • build

        @Stability(Stable)
        public HelmProps build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<HelmProps>
        Returns:
        a new instance of HelmProps
        Throws:
        NullPointerException - if any required attribute was not provided