Class CfnDataMigration.SourceDataSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dms.CfnDataMigration.SourceDataSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataMigration.SourceDataSettingsProperty>
- Enclosing interface:
CfnDataMigration.SourceDataSettingsProperty
@Stability(Stable)
public static final class CfnDataMigration.SourceDataSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataMigration.SourceDataSettingsProperty>
A builder for
CfnDataMigration.SourceDataSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cdcStartPosition(String cdcStartPosition) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getCdcStartPosition()cdcStartTime(String cdcStartTime) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getCdcStartTime()cdcStopTime(String cdcStopTime) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getCdcStopTime()Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getSlotName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cdcStartPosition
@Stability(Stable) public CfnDataMigration.SourceDataSettingsProperty.Builder cdcStartPosition(String cdcStartPosition) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getCdcStartPosition()- Parameters:
cdcStartPosition- The property is a point in the database engine's log that defines a time where you can begin CDC.- Returns:
this
-
cdcStartTime
@Stability(Stable) public CfnDataMigration.SourceDataSettingsProperty.Builder cdcStartTime(String cdcStartTime) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getCdcStartTime()- Parameters:
cdcStartTime- The property indicates the start time for a change data capture (CDC) operation. The value is server time in UTC format.- Returns:
this
-
cdcStopTime
@Stability(Stable) public CfnDataMigration.SourceDataSettingsProperty.Builder cdcStopTime(String cdcStopTime) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getCdcStopTime()- Parameters:
cdcStopTime- The property indicates the stop time for a change data capture (CDC) operation. The value is server time in UTC format.- Returns:
this
-
slotName
@Stability(Stable) public CfnDataMigration.SourceDataSettingsProperty.Builder slotName(String slotName) Sets the value ofCfnDataMigration.SourceDataSettingsProperty.getSlotName()- Parameters:
slotName- The property sets the name of a previously created logical replication slot for a change data capture (CDC) load of the source instance.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataMigration.SourceDataSettingsProperty>- Returns:
- a new instance of
CfnDataMigration.SourceDataSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-