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 Summary
Modifier and TypeMethodDescriptionbuild()static PublicDnsNamespace.Builderdescription(String description) A description of the Namespace.A name for the Namespace.
-
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
A name for the Namespace.- Parameters:
name- A name for the Namespace. This parameter is required.- Returns:
this
-
description
A description of the Namespace.Default: none
- Parameters:
description- A description of the Namespace. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PublicDnsNamespace>- Returns:
- a newly built instance of
PublicDnsNamespace.
-