Class PrivateDnsNamespace.Builder
java.lang.Object
software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivateDnsNamespace>
- Enclosing class:
PrivateDnsNamespace
@Stability(Stable)
public static final class PrivateDnsNamespace.Builder
extends Object
implements software.amazon.jsii.Builder<PrivateDnsNamespace>
A fluent builder for
PrivateDnsNamespace
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static PrivateDnsNamespace.Builder
description
(String description) A description of the Namespace.A name for the Namespace.The Amazon VPC that you want to associate the namespace with.
-
Method Details
-
create
@Stability(Stable) public static PrivateDnsNamespace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
PrivateDnsNamespace.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
-
vpc
The Amazon VPC that you want to associate the namespace with.- Parameters:
vpc
- The Amazon VPC that you want to associate the namespace with. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PrivateDnsNamespace>
- Returns:
- a newly built instance of
PrivateDnsNamespace
.
-