Package org.cdk8s

Class ChartProps.Builder

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

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

      • Builder

        public Builder()
    • Method Detail

      • namespace

        @Stability(Stable)
        public ChartProps.Builder namespace​(String namespace)
        Sets the value of ChartProps.getNamespace()
        Parameters:
        namespace - The default namespace for all objects defined in this chart (directly or indirectly). This namespace will only apply to objects that don't have a namespace explicitly defined for them.
        Returns:
        this
      • build

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