@Stability(value=Stable) public static final class CfnPrivateDnsNamespaceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnPrivateDnsNamespaceProps>
CfnPrivateDnsNamespaceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnPrivateDnsNamespaceProps |
build()
Builds the configured instance.
|
CfnPrivateDnsNamespaceProps.Builder |
description(String description)
Sets the value of
CfnPrivateDnsNamespaceProps.getDescription() |
CfnPrivateDnsNamespaceProps.Builder |
name(String name)
Sets the value of
CfnPrivateDnsNamespaceProps.getName() |
CfnPrivateDnsNamespaceProps.Builder |
properties(CfnPrivateDnsNamespace.PropertiesProperty properties)
Sets the value of
CfnPrivateDnsNamespaceProps.getProperties() |
CfnPrivateDnsNamespaceProps.Builder |
properties(IResolvable properties)
Sets the value of
CfnPrivateDnsNamespaceProps.getProperties() |
CfnPrivateDnsNamespaceProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnPrivateDnsNamespaceProps.getTags() |
CfnPrivateDnsNamespaceProps.Builder |
vpc(String vpc)
Sets the value of
CfnPrivateDnsNamespaceProps.getVpc() |
@Stability(value=Stable) public CfnPrivateDnsNamespaceProps.Builder name(String name)
CfnPrivateDnsNamespaceProps.getName()name - The name that you want to assign to this namespace. This parameter is required.
When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon RouteĀ 53 private hosted zone that has the same name as the namespace.this@Stability(value=Stable) public CfnPrivateDnsNamespaceProps.Builder vpc(String vpc)
CfnPrivateDnsNamespaceProps.getVpc()vpc - The ID of the Amazon VPC that you want to associate the namespace with. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespaceProps.Builder description(String description)
CfnPrivateDnsNamespaceProps.getDescription()description - A description for the namespace.this@Stability(value=Stable) public CfnPrivateDnsNamespaceProps.Builder properties(CfnPrivateDnsNamespace.PropertiesProperty properties)
CfnPrivateDnsNamespaceProps.getProperties()properties - Properties for the private DNS namespace.this@Stability(value=Stable) public CfnPrivateDnsNamespaceProps.Builder properties(IResolvable properties)
CfnPrivateDnsNamespaceProps.getProperties()properties - Properties for the private DNS namespace.this@Stability(value=Stable) public CfnPrivateDnsNamespaceProps.Builder tags(List<? extends CfnTag> tags)
CfnPrivateDnsNamespaceProps.getTags()tags - The tags for the namespace.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.this@Stability(value=Stable) public CfnPrivateDnsNamespaceProps build()
build in interface software.amazon.jsii.Builder<CfnPrivateDnsNamespaceProps>CfnPrivateDnsNamespacePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.