Class CfnReplicationSubnetGroup.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnReplicationSubnetGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationSubnetGroup>
- Enclosing class:
CfnReplicationSubnetGroup
@Stability(Stable)
public static final class CfnReplicationSubnetGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationSubnetGroup>
A fluent builder for
CfnReplicationSubnetGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
replicationSubnetGroupDescription
(String replicationSubnetGroupDescription) The description for the subnet group.replicationSubnetGroupIdentifier
(String replicationSubnetGroupIdentifier) The identifier for the replication subnet group.One or more subnet IDs to be assigned to the subnet group.One or more tags to be assigned to the subnet group.
-
Method Details
-
create
@Stability(Stable) public static CfnReplicationSubnetGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnReplicationSubnetGroup.Builder
.
-
replicationSubnetGroupDescription
@Stability(Stable) public CfnReplicationSubnetGroup.Builder replicationSubnetGroupDescription(String replicationSubnetGroupDescription) The description for the subnet group.- Parameters:
replicationSubnetGroupDescription
- The description for the subnet group. This parameter is required.- Returns:
this
- See Also:
-
subnetIds
One or more subnet IDs to be assigned to the subnet group.- Parameters:
subnetIds
- One or more subnet IDs to be assigned to the subnet group. This parameter is required.- Returns:
this
- See Also:
-
replicationSubnetGroupIdentifier
@Stability(Stable) public CfnReplicationSubnetGroup.Builder replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) The identifier for the replication subnet group.If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the identifier.
- Parameters:
replicationSubnetGroupIdentifier
- The identifier for the replication subnet group. This parameter is required.- Returns:
this
- See Also:
-
tags
One or more tags to be assigned to the subnet group.- Parameters:
tags
- One or more tags to be assigned to the subnet group. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicationSubnetGroup>
- Returns:
- a newly built instance of
CfnReplicationSubnetGroup
.
-