Class Sysctl.Builder

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

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

      • Builder

        public Builder()
    • Method Detail

      • name

        @Stability(Stable)
        public Sysctl.Builder name​(String name)
        Sets the value of Sysctl.getName()
        Parameters:
        name - Name of a property to set. This parameter is required.
        Returns:
        this
      • value

        @Stability(Stable)
        public Sysctl.Builder value​(String value)
        Sets the value of Sysctl.getValue()
        Parameters:
        value - Value of a property to set. This parameter is required.
        Returns:
        this
      • build

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