Class CfnReplicationSubnetGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnReplicationSubnetGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationSubnetGroupProps>
- Enclosing interface:
CfnReplicationSubnetGroupProps
@Stability(Stable)
public static final class CfnReplicationSubnetGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationSubnetGroupProps>
A builder for
CfnReplicationSubnetGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.replicationSubnetGroupDescription(String replicationSubnetGroupDescription) Sets the value ofCfnReplicationSubnetGroupProps.getReplicationSubnetGroupDescription()replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) Sets the value ofCfnReplicationSubnetGroupProps.getReplicationSubnetGroupIdentifier()Sets the value ofCfnReplicationSubnetGroupProps.getSubnetIds()Sets the value ofCfnReplicationSubnetGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicationSubnetGroupDescription
@Stability(Stable) public CfnReplicationSubnetGroupProps.Builder replicationSubnetGroupDescription(String replicationSubnetGroupDescription) Sets the value ofCfnReplicationSubnetGroupProps.getReplicationSubnetGroupDescription()- Parameters:
replicationSubnetGroupDescription- The description for the subnet group. This parameter is required.- Returns:
this
-
subnetIds
Sets the value ofCfnReplicationSubnetGroupProps.getSubnetIds()- Parameters:
subnetIds- One or more subnet IDs to be assigned to the subnet group. This parameter is required.- Returns:
this
-
replicationSubnetGroupIdentifier
@Stability(Stable) public CfnReplicationSubnetGroupProps.Builder replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) Sets the value ofCfnReplicationSubnetGroupProps.getReplicationSubnetGroupIdentifier()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnReplicationSubnetGroupProps.getTags()- Parameters:
tags- One or more tags to be assigned to the subnet group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicationSubnetGroupProps>- Returns:
- a new instance of
CfnReplicationSubnetGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-