Interface Replication.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Replication.Builder,
,Replication> SdkBuilder<Replication.Builder,
,Replication> SdkPojo
- Enclosing class:
Replication
-
Method Summary
Modifier and TypeMethodDescriptioncdcStartPosition
(String cdcStartPosition) Indicates the start time for a change data capture (CDC) operation.cdcStartTime
(Instant cdcStartTime) Indicates the start time for a change data capture (CDC) operation.cdcStopPosition
(String cdcStopPosition) Indicates when you want a change data capture (CDC) operation to stop.failureMessages
(String... failureMessages) Error and other information about why a serverless replication failed.failureMessages
(Collection<String> failureMessages) Error and other information about why a serverless replication failed.default Replication.Builder
provisionData
(Consumer<ProvisionData.Builder> provisionData) Information about provisioning resources for an DMS serverless replication.provisionData
(ProvisionData provisionData) Information about provisioning resources for an DMS serverless replication.recoveryCheckpoint
(String recoveryCheckpoint) Indicates the last checkpoint that occurred during a change data capture (CDC) operation.replicationConfigArn
(String replicationConfigArn) The Amazon Resource Name for theReplicationConfig
associated with the replication.replicationConfigIdentifier
(String replicationConfigIdentifier) The identifier for theReplicationConfig
associated with the replication.replicationCreateTime
(Instant replicationCreateTime) The time the serverless replication was created.replicationDeprovisionTime
(Instant replicationDeprovisionTime) The timestamp when DMS will deprovision the replication.replicationLastStopTime
(Instant replicationLastStopTime) The timestamp when replication was last stopped.default Replication.Builder
replicationStats
(Consumer<ReplicationStats.Builder> replicationStats) This object provides a collection of statistics about a serverless replication.replicationStats
(ReplicationStats replicationStats) This object provides a collection of statistics about a serverless replication.replicationType
(String replicationType) The type of the serverless replication.replicationType
(MigrationTypeValue replicationType) The type of the serverless replication.replicationUpdateTime
(Instant replicationUpdateTime) The time the serverless replication was updated.sourceEndpointArn
(String sourceEndpointArn) The Amazon Resource Name for an existingEndpoint
the serverless replication uses for its data source.startReplicationType
(String startReplicationType) The replication type.The current status of the serverless replication.stopReason
(String stopReason) The reason the replication task was stopped.targetEndpointArn
(String targetEndpointArn) The Amazon Resource Name for an existingEndpoint
the serverless replication uses for its data target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
replicationConfigIdentifier
The identifier for the
ReplicationConfig
associated with the replication.- Parameters:
replicationConfigIdentifier
- The identifier for theReplicationConfig
associated with the replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfigArn
The Amazon Resource Name for the
ReplicationConfig
associated with the replication.- Parameters:
replicationConfigArn
- The Amazon Resource Name for theReplicationConfig
associated with the replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEndpointArn
The Amazon Resource Name for an existing
Endpoint
the serverless replication uses for its data source.- Parameters:
sourceEndpointArn
- The Amazon Resource Name for an existingEndpoint
the serverless replication uses for its data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEndpointArn
The Amazon Resource Name for an existing
Endpoint
the serverless replication uses for its data target.- Parameters:
targetEndpointArn
- The Amazon Resource Name for an existingEndpoint
the serverless replication uses for its data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationType
The type of the serverless replication.
- Parameters:
replicationType
- The type of the serverless replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationType
The type of the serverless replication.
- Parameters:
replicationType
- The type of the serverless replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the serverless replication.
- Parameters:
status
- The current status of the serverless replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionData
Information about provisioning resources for an DMS serverless replication.
- Parameters:
provisionData
- Information about provisioning resources for an DMS serverless replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionData
Information about provisioning resources for an DMS serverless replication.
This is a convenience method that creates an instance of theProvisionData.Builder
avoiding the need to create one manually viaProvisionData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionData(ProvisionData)
.- Parameters:
provisionData
- a consumer that will call methods onProvisionData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stopReason
The reason the replication task was stopped. This response parameter can return one of the following values:
-
"Stop Reason NORMAL"
-
"Stop Reason RECOVERABLE_ERROR"
-
"Stop Reason FATAL_ERROR"
-
"Stop Reason FULL_LOAD_ONLY_FINISHED"
-
"Stop Reason STOPPED_AFTER_FULL_LOAD"
– Full load completed, with cached changes not applied -
"Stop Reason STOPPED_AFTER_CACHED_EVENTS"
– Full load completed, with cached changes applied -
"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"
-
"Stop Reason STOPPED_AFTER_DDL_APPLY"
– User-defined stop task after DDL applied -
"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"
-
"Stop Reason STOPPED_DUE_TO_LOW_DISK"
-
"Stop Reason STOPPED_AT_SERVER_TIME"
– User-defined server time for stopping task -
"Stop Reason STOPPED_AT_COMMIT_TIME"
– User-defined commit time for stopping task -
"Stop Reason RECONFIGURATION_RESTART"
-
"Stop Reason RECYCLE_TASK"
- Parameters:
stopReason
- The reason the replication task was stopped. This response parameter can return one of the following values:-
"Stop Reason NORMAL"
-
"Stop Reason RECOVERABLE_ERROR"
-
"Stop Reason FATAL_ERROR"
-
"Stop Reason FULL_LOAD_ONLY_FINISHED"
-
"Stop Reason STOPPED_AFTER_FULL_LOAD"
– Full load completed, with cached changes not applied -
"Stop Reason STOPPED_AFTER_CACHED_EVENTS"
– Full load completed, with cached changes applied -
"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"
-
"Stop Reason STOPPED_AFTER_DDL_APPLY"
– User-defined stop task after DDL applied -
"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"
-
"Stop Reason STOPPED_DUE_TO_LOW_DISK"
-
"Stop Reason STOPPED_AT_SERVER_TIME"
– User-defined server time for stopping task -
"Stop Reason STOPPED_AT_COMMIT_TIME"
– User-defined commit time for stopping task -
"Stop Reason RECONFIGURATION_RESTART"
-
"Stop Reason RECYCLE_TASK"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
failureMessages
Error and other information about why a serverless replication failed.
- Parameters:
failureMessages
- Error and other information about why a serverless replication failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessages
Error and other information about why a serverless replication failed.
- Parameters:
failureMessages
- Error and other information about why a serverless replication failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStats
This object provides a collection of statistics about a serverless replication.
- Parameters:
replicationStats
- This object provides a collection of statistics about a serverless replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStats
This object provides a collection of statistics about a serverless replication.
This is a convenience method that creates an instance of theReplicationStats.Builder
avoiding the need to create one manually viaReplicationStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationStats(ReplicationStats)
.- Parameters:
replicationStats
- a consumer that will call methods onReplicationStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startReplicationType
The replication type.
- Parameters:
startReplicationType
- The replication type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdcStartTime
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error.- Parameters:
cdcStartTime
- Indicates the start time for a change data capture (CDC) operation. Use eitherCdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdcStartPosition
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error.- Parameters:
cdcStartPosition
- Indicates the start time for a change data capture (CDC) operation. Use eitherCdcStartTime
orCdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results in an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdcStopPosition
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
- Parameters:
cdcStopPosition
- Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryCheckpoint
Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the
CdcStartPosition
parameter to start a CDC operation that begins at that checkpoint.- Parameters:
recoveryCheckpoint
- Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to theCdcStartPosition
parameter to start a CDC operation that begins at that checkpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationCreateTime
The time the serverless replication was created.
- Parameters:
replicationCreateTime
- The time the serverless replication was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationUpdateTime
The time the serverless replication was updated.
- Parameters:
replicationUpdateTime
- The time the serverless replication was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationLastStopTime
The timestamp when replication was last stopped.
- Parameters:
replicationLastStopTime
- The timestamp when replication was last stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationDeprovisionTime
The timestamp when DMS will deprovision the replication.
- Parameters:
replicationDeprovisionTime
- The timestamp when DMS will deprovision the replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-