Class ReplicationSubnetGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.dms.ReplicationSubnetGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ReplicationSubnetGroupReference>
- Enclosing interface:
ReplicationSubnetGroupReference
@Stability(Stable)
public static final class ReplicationSubnetGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<ReplicationSubnetGroupReference>
A builder for
ReplicationSubnetGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.replicationSubnetGroupId
(String replicationSubnetGroupId) Sets the value ofReplicationSubnetGroupReference.getReplicationSubnetGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicationSubnetGroupId
@Stability(Stable) public ReplicationSubnetGroupReference.Builder replicationSubnetGroupId(String replicationSubnetGroupId) Sets the value ofReplicationSubnetGroupReference.getReplicationSubnetGroupId()
- Parameters:
replicationSubnetGroupId
- The Id of the ReplicationSubnetGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ReplicationSubnetGroupReference>
- Returns:
- a new instance of
ReplicationSubnetGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-