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 Details

    • create

      @Stability(Stable) public static CfnReplicationSubnetGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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
    • subnetIds

      @Stability(Stable) public CfnReplicationSubnetGroup.Builder subnetIds(List<String> 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
    • 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
    • tags

      @Stability(Stable) public CfnReplicationSubnetGroup.Builder tags(List<? extends CfnTag> 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
    • build

      @Stability(Stable) public CfnReplicationSubnetGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnReplicationSubnetGroup>
      Returns:
      a newly built instance of CfnReplicationSubnetGroup.