Package org.cdk8s

Class AppProps.Builder

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

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

      • Builder

        public Builder()
    • Method Detail

      • recordConstructMetadata

        @Stability(Stable)
        public AppProps.Builder recordConstructMetadata​(Boolean recordConstructMetadata)
        Parameters:
        recordConstructMetadata - When set to true, the output directory will contain a `construct-metadata.json` file that holds construct related metadata on every resource in the app.
        Returns:
        this
      • build

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