Class ForZone.Builder

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

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

      • Builder

        public Builder()
    • Method Detail

      • name

        @Stability(Stable)
        public ForZone.Builder name​(String name)
        Sets the value of ForZone.getName()
        Parameters:
        name - name represents the name of the zone. This parameter is required.
        Returns:
        this
      • build

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