Interface Replication.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Replication.Builder,Replication>,SdkBuilder<Replication.Builder,Replication>,SdkPojo
- Enclosing class:
- Replication
public static interface Replication.Builder extends SdkPojo, CopyableBuilder<Replication.Builder,Replication>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Replication.BuildercdcStartPosition(String cdcStartPosition)Indicates the start time for a change data capture (CDC) operation.Replication.BuildercdcStartTime(Instant cdcStartTime)Indicates the start time for a change data capture (CDC) operation.Replication.BuildercdcStopPosition(String cdcStopPosition)Indicates when you want a change data capture (CDC) operation to stop.Replication.BuilderfailureMessages(String... failureMessages)Error and other information about why a serverless replication failed.Replication.BuilderfailureMessages(Collection<String> failureMessages)Error and other information about why a serverless replication failed.default Replication.BuilderprovisionData(Consumer<ProvisionData.Builder> provisionData)Information about provisioning resources for an DMS serverless replication.Replication.BuilderprovisionData(ProvisionData provisionData)Information about provisioning resources for an DMS serverless replication.Replication.BuilderrecoveryCheckpoint(String recoveryCheckpoint)Indicates the last checkpoint that occurred during a change data capture (CDC) operation.Replication.BuilderreplicationConfigArn(String replicationConfigArn)The Amazon Resource Name for theReplicationConfigassociated with the replication.Replication.BuilderreplicationConfigIdentifier(String replicationConfigIdentifier)The identifier for theReplicationConfigassociated with the replication.Replication.BuilderreplicationCreateTime(Instant replicationCreateTime)The time the serverless replication was created.Replication.BuilderreplicationDeprovisionTime(Instant replicationDeprovisionTime)The timestamp when DMS will deprovision the replication.Replication.BuilderreplicationLastStopTime(Instant replicationLastStopTime)The timestamp when replication was last stopped.default Replication.BuilderreplicationStats(Consumer<ReplicationStats.Builder> replicationStats)This object provides a collection of statistics about a serverless replication.Replication.BuilderreplicationStats(ReplicationStats replicationStats)This object provides a collection of statistics about a serverless replication.Replication.BuilderreplicationType(String replicationType)The type of the serverless replication.Replication.BuilderreplicationType(MigrationTypeValue replicationType)The type of the serverless replication.Replication.BuilderreplicationUpdateTime(Instant replicationUpdateTime)The time the serverless replication was updated.Replication.BuildersourceEndpointArn(String sourceEndpointArn)The Amazon Resource Name for an existingEndpointthe serverless replication uses for its data source.Replication.BuilderstartReplicationType(String startReplicationType)The replication type.Replication.Builderstatus(String status)The current status of the serverless replication.Replication.BuilderstopReason(String stopReason)The reason the replication task was stopped.Replication.BuildertargetEndpointArn(String targetEndpointArn)The Amazon Resource Name for an existingEndpointthe 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 Detail
-
replicationConfigIdentifier
Replication.Builder replicationConfigIdentifier(String replicationConfigIdentifier)
The identifier for the
ReplicationConfigassociated with the replication.- Parameters:
replicationConfigIdentifier- The identifier for theReplicationConfigassociated with the replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfigArn
Replication.Builder replicationConfigArn(String replicationConfigArn)
The Amazon Resource Name for the
ReplicationConfigassociated with the replication.- Parameters:
replicationConfigArn- The Amazon Resource Name for theReplicationConfigassociated with the replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEndpointArn
Replication.Builder sourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name for an existing
Endpointthe serverless replication uses for its data source.- Parameters:
sourceEndpointArn- The Amazon Resource Name for an existingEndpointthe serverless replication uses for its data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEndpointArn
Replication.Builder targetEndpointArn(String targetEndpointArn)
The Amazon Resource Name for an existing
Endpointthe serverless replication uses for its data target.- Parameters:
targetEndpointArn- The Amazon Resource Name for an existingEndpointthe serverless replication uses for its data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationType
Replication.Builder replicationType(String 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:
MigrationTypeValue,MigrationTypeValue
-
replicationType
Replication.Builder replicationType(MigrationTypeValue 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:
MigrationTypeValue,MigrationTypeValue
-
status
Replication.Builder status(String 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
Replication.Builder provisionData(ProvisionData 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
default Replication.Builder provisionData(Consumer<ProvisionData.Builder> provisionData)
Information about provisioning resources for an DMS serverless replication.
This is a convenience method that creates an instance of theProvisionData.Builderavoiding the need to create one manually viaProvisionData.builder().When the
Consumercompletes,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:
provisionData(ProvisionData)
-
stopReason
Replication.Builder stopReason(String 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
Replication.Builder failureMessages(Collection<String> 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
Replication.Builder failureMessages(String... 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
Replication.Builder replicationStats(ReplicationStats 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
default Replication.Builder replicationStats(Consumer<ReplicationStats.Builder> replicationStats)
This object provides a collection of statistics about a serverless replication.
This is a convenience method that creates an instance of theReplicationStats.Builderavoiding the need to create one manually viaReplicationStats.builder().When the
Consumercompletes,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:
replicationStats(ReplicationStats)
-
startReplicationType
Replication.Builder startReplicationType(String 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
Replication.Builder cdcStartTime(Instant cdcStartTime)
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTimeorCdcStartPositionto 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 eitherCdcStartTimeorCdcStartPositionto 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
Replication.Builder cdcStartPosition(String cdcStartPosition)
Indicates the start time for a change data capture (CDC) operation. Use either
CdcStartTimeorCdcStartPositionto 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 eitherCdcStartTimeorCdcStartPositionto 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
Replication.Builder cdcStopPosition(String 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
Replication.Builder recoveryCheckpoint(String recoveryCheckpoint)
Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the
CdcStartPositionparameter 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 theCdcStartPositionparameter 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
Replication.Builder replicationCreateTime(Instant 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
Replication.Builder replicationUpdateTime(Instant 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
Replication.Builder replicationLastStopTime(Instant 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
Replication.Builder replicationDeprovisionTime(Instant 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.
-
-