Class CfnReplicationSubnetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnReplicationSubnetGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationSubnetGroupMixinProps>
- Enclosing interface:
CfnReplicationSubnetGroupMixinProps
@Stability(Stable)
public static final class CfnReplicationSubnetGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationSubnetGroupMixinProps>
A builder for
CfnReplicationSubnetGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.replicationSubnetGroupDescription(String replicationSubnetGroupDescription) replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) Sets the value ofCfnReplicationSubnetGroupMixinProps.getSubnetIds()Sets the value ofCfnReplicationSubnetGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicationSubnetGroupDescription
@Stability(Stable) public CfnReplicationSubnetGroupMixinProps.Builder replicationSubnetGroupDescription(String replicationSubnetGroupDescription) - Parameters:
replicationSubnetGroupDescription- The description for the subnet group.- Returns:
this
-
replicationSubnetGroupIdentifier
@Stability(Stable) public CfnReplicationSubnetGroupMixinProps.Builder replicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier) - Parameters:
replicationSubnetGroupIdentifier- The identifier for the replication subnet group. If you don't specify a name, CloudFormation generates a unique ID and uses that ID for the identifier.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnReplicationSubnetGroupMixinProps.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnReplicationSubnetGroupMixinProps.getSubnetIds()- Parameters:
subnetIds- One or more subnet IDs to be assigned to the subnet group.- Returns:
this
-
tags
@Stability(Stable) public CfnReplicationSubnetGroupMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnReplicationSubnetGroupMixinProps.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<CfnReplicationSubnetGroupMixinProps>- Returns:
- a new instance of
CfnReplicationSubnetGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-