@Stability(value=Experimental) public static final class CloudMapNamespaceOptions.Builder extends Object implements software.amazon.jsii.Builder<CloudMapNamespaceOptions>
CloudMapNamespaceOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CloudMapNamespaceOptions |
build()
Builds the configured instance.
|
CloudMapNamespaceOptions.Builder |
name(String name)
Sets the value of
CloudMapNamespaceOptions.getName() |
CloudMapNamespaceOptions.Builder |
type(NamespaceType type)
Sets the value of
CloudMapNamespaceOptions.getType() |
CloudMapNamespaceOptions.Builder |
vpc(IVpc vpc)
Sets the value of
CloudMapNamespaceOptions.getVpc() |
@Stability(value=Experimental) public CloudMapNamespaceOptions.Builder name(String name)
CloudMapNamespaceOptions.getName()
name
- The name of the namespace, such as example.com. This parameter is required.this
@Stability(value=Experimental) public CloudMapNamespaceOptions.Builder type(NamespaceType type)
CloudMapNamespaceOptions.getType()
type
- The type of CloudMap Namespace to create.this
@Stability(value=Experimental) public CloudMapNamespaceOptions.Builder vpc(IVpc vpc)
CloudMapNamespaceOptions.getVpc()
vpc
- The VPC to associate the namespace with.
This property is required for private DNS namespaces.this
@Stability(value=Experimental) public CloudMapNamespaceOptions build()
build
in interface software.amazon.jsii.Builder<CloudMapNamespaceOptions>
CloudMapNamespaceOptions
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.