Class PublicDnsNamespace.Builder

java.lang.Object
software.amazon.awscdk.services.servicediscovery.PublicDnsNamespace.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<PublicDnsNamespace>
Enclosing class:
PublicDnsNamespace

@Stability(Stable) public static final class PublicDnsNamespace.Builder extends Object implements software.amazon.jsii.Builder<PublicDnsNamespace>
A fluent builder for PublicDnsNamespace.
  • Method Details

    • create

      @Stability(Stable) public static PublicDnsNamespace.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of PublicDnsNamespace.Builder.
    • name

      @Stability(Stable) public PublicDnsNamespace.Builder name(String name)
      A name for the Namespace.

      Parameters:
      name - A name for the Namespace. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public PublicDnsNamespace.Builder description(String description)
      A description of the Namespace.

      Default: none

      Parameters:
      description - A description of the Namespace. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public PublicDnsNamespace build()
      Specified by:
      build in interface software.amazon.jsii.Builder<PublicDnsNamespace>
      Returns:
      a newly built instance of PublicDnsNamespace.