Class CfnReplicationConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnReplicationConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationConfigProps>
- Enclosing interface:
CfnReplicationConfigProps
@Stability(Stable)
public static final class CfnReplicationConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationConfigProps>
A builder for
CfnReplicationConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.computeConfig
(IResolvable computeConfig) Sets the value ofCfnReplicationConfigProps.getComputeConfig()
computeConfig
(CfnReplicationConfig.ComputeConfigProperty computeConfig) Sets the value ofCfnReplicationConfigProps.getComputeConfig()
replicationConfigIdentifier
(String replicationConfigIdentifier) Sets the value ofCfnReplicationConfigProps.getReplicationConfigIdentifier()
replicationSettings
(Object replicationSettings) Sets the value ofCfnReplicationConfigProps.getReplicationSettings()
replicationType
(String replicationType) Sets the value ofCfnReplicationConfigProps.getReplicationType()
resourceIdentifier
(String resourceIdentifier) Sets the value ofCfnReplicationConfigProps.getResourceIdentifier()
sourceEndpointArn
(String sourceEndpointArn) Sets the value ofCfnReplicationConfigProps.getSourceEndpointArn()
supplementalSettings
(Object supplementalSettings) Sets the value ofCfnReplicationConfigProps.getSupplementalSettings()
tableMappings
(Object tableMappings) Sets the value ofCfnReplicationConfigProps.getTableMappings()
Sets the value ofCfnReplicationConfigProps.getTags()
targetEndpointArn
(String targetEndpointArn) Sets the value ofCfnReplicationConfigProps.getTargetEndpointArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeConfig
@Stability(Stable) public CfnReplicationConfigProps.Builder computeConfig(IResolvable computeConfig) Sets the value ofCfnReplicationConfigProps.getComputeConfig()
- Parameters:
computeConfig
- Configuration parameters for provisioning an AWS DMS Serverless replication. This parameter is required.- Returns:
this
-
computeConfig
@Stability(Stable) public CfnReplicationConfigProps.Builder computeConfig(CfnReplicationConfig.ComputeConfigProperty computeConfig) Sets the value ofCfnReplicationConfigProps.getComputeConfig()
- Parameters:
computeConfig
- Configuration parameters for provisioning an AWS DMS Serverless replication. This parameter is required.- Returns:
this
-
replicationConfigIdentifier
@Stability(Stable) public CfnReplicationConfigProps.Builder replicationConfigIdentifier(String replicationConfigIdentifier) Sets the value ofCfnReplicationConfigProps.getReplicationConfigIdentifier()
- Parameters:
replicationConfigIdentifier
- A unique identifier that you want to use to create aReplicationConfigArn
that is returned as part of the output from this action. This parameter is required. You can then pass this outputReplicationConfigArn
as the value of theReplicationConfigArn
option for other actions to identify both AWS DMS Serverless replications and replication configurations that you want those actions to operate on. For some actions, you can also use either this unique identifier or a corresponding ARN in action filters to identify the specific replication and replication configuration to operate on.- Returns:
this
-
replicationType
Sets the value ofCfnReplicationConfigProps.getReplicationType()
- Parameters:
replicationType
- The type of AWS DMS Serverless replication to provision using this replication configuration. This parameter is required. Possible values:"full-load"
"cdc"
"full-load-and-cdc"
- Returns:
this
-
sourceEndpointArn
@Stability(Stable) public CfnReplicationConfigProps.Builder sourceEndpointArn(String sourceEndpointArn) Sets the value ofCfnReplicationConfigProps.getSourceEndpointArn()
- Parameters:
sourceEndpointArn
- The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration. This parameter is required.- Returns:
this
-
tableMappings
Sets the value ofCfnReplicationConfigProps.getTableMappings()
- Parameters:
tableMappings
- JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration. This parameter is required. For more information, see Specifying table selection and transformations rules using JSON .- Returns:
this
-
targetEndpointArn
@Stability(Stable) public CfnReplicationConfigProps.Builder targetEndpointArn(String targetEndpointArn) Sets the value ofCfnReplicationConfigProps.getTargetEndpointArn()
- Parameters:
targetEndpointArn
- The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration. This parameter is required.- Returns:
this
-
replicationSettings
@Stability(Stable) public CfnReplicationConfigProps.Builder replicationSettings(Object replicationSettings) Sets the value ofCfnReplicationConfigProps.getReplicationSettings()
- Parameters:
replicationSettings
- Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration. For example, see Change processing tuning settings .- Returns:
this
-
resourceIdentifier
@Stability(Stable) public CfnReplicationConfigProps.Builder resourceIdentifier(String resourceIdentifier) Sets the value ofCfnReplicationConfigProps.getResourceIdentifier()
- Parameters:
resourceIdentifier
- Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags .- Returns:
this
-
supplementalSettings
@Stability(Stable) public CfnReplicationConfigProps.Builder supplementalSettings(Object supplementalSettings) Sets the value ofCfnReplicationConfigProps.getSupplementalSettings()
- Parameters:
supplementalSettings
- Optional JSON settings for specifying supplemental data. For more information, see Specifying supplemental data for task settings .- Returns:
this
-
tags
Sets the value ofCfnReplicationConfigProps.getTags()
- Parameters:
tags
- One or more optional tags associated with resources used by the AWS DMS Serverless replication. For more information, see Tagging resources in AWS Database Migration Service .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicationConfigProps>
- Returns:
- a new instance of
CfnReplicationConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-