Class CfnPrivateDnsNamespacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicediscovery.CfnPrivateDnsNamespacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateDnsNamespacePropsMixin>
- Enclosing class:
CfnPrivateDnsNamespacePropsMixin
@Stability(Stable)
public static final class CfnPrivateDnsNamespacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateDnsNamespacePropsMixin>
A fluent builder for
CfnPrivateDnsNamespacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) A description for the namespace.The name that you want to assign to this namespace.Properties for the private DNS namespace.properties(IResolvable properties) Properties for the private DNS namespace.The tags for the namespace.The ID of the Amazon VPC that you want to associate the namespace with.
-
Method Details
-
create
@Stability(Stable) public static CfnPrivateDnsNamespacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPrivateDnsNamespacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPrivateDnsNamespacePropsMixin.Builder.
-
description
A description for the namespace.- Parameters:
description- A description for the namespace. This parameter is required.- Returns:
this- See Also:
-
name
The name that you want to assign to this namespace.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.
- Parameters:
name- The name that you want to assign to this namespace. This parameter is required.- Returns:
this- See Also:
-
properties
@Stability(Stable) public CfnPrivateDnsNamespacePropsMixin.Builder properties(IResolvable properties) Properties for the private DNS namespace.- Parameters:
properties- Properties for the private DNS namespace. This parameter is required.- Returns:
this- See Also:
-
properties
@Stability(Stable) public CfnPrivateDnsNamespacePropsMixin.Builder properties(CfnPrivateDnsNamespacePropsMixin.PropertiesProperty properties) Properties for the private DNS namespace.- Parameters:
properties- Properties for the private DNS namespace. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnPrivateDnsNamespacePropsMixin.Builder tags(List<? extends CfnTag> 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.
- Parameters:
tags- The tags for the namespace. This parameter is required.- Returns:
this- See Also:
-
vpc
The ID of the Amazon VPC that you want to associate the namespace with.- Parameters:
vpc- The ID of the Amazon VPC that you want to associate the namespace with. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrivateDnsNamespacePropsMixin>- Returns:
- a newly built instance of
CfnPrivateDnsNamespacePropsMixin.
-