Class PodOs.Builder

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

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

      • Builder

        public Builder()
    • Method Detail

      • name

        @Stability(Stable)
        public PodOs.Builder name​(String name)
        Sets the value of PodOs.getName()
        Parameters:
        name - Name is the name of the operating system. This parameter is required. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null
        Returns:
        this
      • build

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