@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Replication extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that describes a serverless replication created by the CreateReplication
operation.
Constructor and Description |
---|
Replication() |
Modifier and Type | Method and Description |
---|---|
Replication |
clone() |
boolean |
equals(Object obj) |
String |
getCdcStartPosition()
Indicates the start time for a change data capture (CDC) operation.
|
Date |
getCdcStartTime()
Indicates the start time for a change data capture (CDC) operation.
|
String |
getCdcStopPosition()
Indicates when you want a change data capture (CDC) operation to stop.
|
List<String> |
getFailureMessages()
Error and other information about why a serverless replication failed.
|
ProvisionData |
getProvisionData()
Information about provisioning resources for an DMS serverless replication.
|
String |
getRecoveryCheckpoint()
Indicates the last checkpoint that occurred during a change data capture (CDC) operation.
|
String |
getReplicationConfigArn()
The Amazon Resource Name for the
ReplicationConfig associated with the replication. |
String |
getReplicationConfigIdentifier()
The identifier for the
ReplicationConfig associated with the replication. |
Date |
getReplicationCreateTime()
The time the serverless replication was created.
|
Date |
getReplicationDeprovisionTime()
The timestamp when DMS will deprovision the replication.
|
Date |
getReplicationLastStopTime()
The timestamp when replication was last stopped.
|
ReplicationStats |
getReplicationStats()
This object provides a collection of statistics about a serverless replication.
|
String |
getReplicationType()
The type of the serverless replication.
|
Date |
getReplicationUpdateTime()
The time the serverless replication was updated.
|
String |
getSourceEndpointArn()
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
source. |
String |
getStartReplicationType()
The replication type.
|
String |
getStatus()
The current status of the serverless replication.
|
String |
getStopReason()
The reason the replication task was stopped.
|
String |
getTargetEndpointArn()
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
target. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCdcStartPosition(String cdcStartPosition)
Indicates the start time for a change data capture (CDC) operation.
|
void |
setCdcStartTime(Date cdcStartTime)
Indicates the start time for a change data capture (CDC) operation.
|
void |
setCdcStopPosition(String cdcStopPosition)
Indicates when you want a change data capture (CDC) operation to stop.
|
void |
setFailureMessages(Collection<String> failureMessages)
Error and other information about why a serverless replication failed.
|
void |
setProvisionData(ProvisionData provisionData)
Information about provisioning resources for an DMS serverless replication.
|
void |
setRecoveryCheckpoint(String recoveryCheckpoint)
Indicates the last checkpoint that occurred during a change data capture (CDC) operation.
|
void |
setReplicationConfigArn(String replicationConfigArn)
The Amazon Resource Name for the
ReplicationConfig associated with the replication. |
void |
setReplicationConfigIdentifier(String replicationConfigIdentifier)
The identifier for the
ReplicationConfig associated with the replication. |
void |
setReplicationCreateTime(Date replicationCreateTime)
The time the serverless replication was created.
|
void |
setReplicationDeprovisionTime(Date replicationDeprovisionTime)
The timestamp when DMS will deprovision the replication.
|
void |
setReplicationLastStopTime(Date replicationLastStopTime)
The timestamp when replication was last stopped.
|
void |
setReplicationStats(ReplicationStats replicationStats)
This object provides a collection of statistics about a serverless replication.
|
void |
setReplicationType(String replicationType)
The type of the serverless replication.
|
void |
setReplicationUpdateTime(Date replicationUpdateTime)
The time the serverless replication was updated.
|
void |
setSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
source. |
void |
setStartReplicationType(String startReplicationType)
The replication type.
|
void |
setStatus(String status)
The current status of the serverless replication.
|
void |
setStopReason(String stopReason)
The reason the replication task was stopped.
|
void |
setTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
target. |
String |
toString()
Returns a string representation of this object.
|
Replication |
withCdcStartPosition(String cdcStartPosition)
Indicates the start time for a change data capture (CDC) operation.
|
Replication |
withCdcStartTime(Date cdcStartTime)
Indicates the start time for a change data capture (CDC) operation.
|
Replication |
withCdcStopPosition(String cdcStopPosition)
Indicates when you want a change data capture (CDC) operation to stop.
|
Replication |
withFailureMessages(Collection<String> failureMessages)
Error and other information about why a serverless replication failed.
|
Replication |
withFailureMessages(String... failureMessages)
Error and other information about why a serverless replication failed.
|
Replication |
withProvisionData(ProvisionData provisionData)
Information about provisioning resources for an DMS serverless replication.
|
Replication |
withRecoveryCheckpoint(String recoveryCheckpoint)
Indicates the last checkpoint that occurred during a change data capture (CDC) operation.
|
Replication |
withReplicationConfigArn(String replicationConfigArn)
The Amazon Resource Name for the
ReplicationConfig associated with the replication. |
Replication |
withReplicationConfigIdentifier(String replicationConfigIdentifier)
The identifier for the
ReplicationConfig associated with the replication. |
Replication |
withReplicationCreateTime(Date replicationCreateTime)
The time the serverless replication was created.
|
Replication |
withReplicationDeprovisionTime(Date replicationDeprovisionTime)
The timestamp when DMS will deprovision the replication.
|
Replication |
withReplicationLastStopTime(Date replicationLastStopTime)
The timestamp when replication was last stopped.
|
Replication |
withReplicationStats(ReplicationStats replicationStats)
This object provides a collection of statistics about a serverless replication.
|
Replication |
withReplicationType(MigrationTypeValue replicationType)
The type of the serverless replication.
|
Replication |
withReplicationType(String replicationType)
The type of the serverless replication.
|
Replication |
withReplicationUpdateTime(Date replicationUpdateTime)
The time the serverless replication was updated.
|
Replication |
withSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
source. |
Replication |
withStartReplicationType(String startReplicationType)
The replication type.
|
Replication |
withStatus(String status)
The current status of the serverless replication.
|
Replication |
withStopReason(String stopReason)
The reason the replication task was stopped.
|
Replication |
withTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
target. |
public void setReplicationConfigIdentifier(String replicationConfigIdentifier)
The identifier for the ReplicationConfig
associated with the replication.
replicationConfigIdentifier
- The identifier for the ReplicationConfig
associated with the replication.public String getReplicationConfigIdentifier()
The identifier for the ReplicationConfig
associated with the replication.
ReplicationConfig
associated with the replication.public Replication withReplicationConfigIdentifier(String replicationConfigIdentifier)
The identifier for the ReplicationConfig
associated with the replication.
replicationConfigIdentifier
- The identifier for the ReplicationConfig
associated with the replication.public void setReplicationConfigArn(String replicationConfigArn)
The Amazon Resource Name for the ReplicationConfig
associated with the replication.
replicationConfigArn
- The Amazon Resource Name for the ReplicationConfig
associated with the replication.public String getReplicationConfigArn()
The Amazon Resource Name for the ReplicationConfig
associated with the replication.
ReplicationConfig
associated with the replication.public Replication withReplicationConfigArn(String replicationConfigArn)
The Amazon Resource Name for the ReplicationConfig
associated with the replication.
replicationConfigArn
- The Amazon Resource Name for the ReplicationConfig
associated with the replication.public void setSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data
source.
sourceEndpointArn
- The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its
data source.public String getSourceEndpointArn()
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data
source.
Endpoint
the serverless replication uses for its
data source.public Replication withSourceEndpointArn(String sourceEndpointArn)
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data
source.
sourceEndpointArn
- The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its
data source.public void setTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data
target.
targetEndpointArn
- The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its
data target.public String getTargetEndpointArn()
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data
target.
Endpoint
the serverless replication uses for its
data target.public Replication withTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data
target.
targetEndpointArn
- The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its
data target.public void setReplicationType(String replicationType)
The type of the serverless replication.
replicationType
- The type of the serverless replication.MigrationTypeValue
public String getReplicationType()
The type of the serverless replication.
MigrationTypeValue
public Replication withReplicationType(String replicationType)
The type of the serverless replication.
replicationType
- The type of the serverless replication.MigrationTypeValue
public Replication withReplicationType(MigrationTypeValue replicationType)
The type of the serverless replication.
replicationType
- The type of the serverless replication.MigrationTypeValue
public void setStatus(String status)
The current status of the serverless replication.
status
- The current status of the serverless replication.public String getStatus()
The current status of the serverless replication.
public Replication withStatus(String status)
The current status of the serverless replication.
status
- The current status of the serverless replication.public void setProvisionData(ProvisionData provisionData)
Information about provisioning resources for an DMS serverless replication.
provisionData
- Information about provisioning resources for an DMS serverless replication.public ProvisionData getProvisionData()
Information about provisioning resources for an DMS serverless replication.
public Replication withProvisionData(ProvisionData provisionData)
Information about provisioning resources for an DMS serverless replication.
provisionData
- Information about provisioning resources for an DMS serverless replication.public void setStopReason(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"
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"
public String getStopReason()
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"
"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"
public Replication withStopReason(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"
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"
public List<String> getFailureMessages()
Error and other information about why a serverless replication failed.
public void setFailureMessages(Collection<String> failureMessages)
Error and other information about why a serverless replication failed.
failureMessages
- Error and other information about why a serverless replication failed.public Replication withFailureMessages(String... failureMessages)
Error and other information about why a serverless replication failed.
NOTE: This method appends the values to the existing list (if any). Use
setFailureMessages(java.util.Collection)
or withFailureMessages(java.util.Collection)
if you
want to override the existing values.
failureMessages
- Error and other information about why a serverless replication failed.public Replication withFailureMessages(Collection<String> failureMessages)
Error and other information about why a serverless replication failed.
failureMessages
- Error and other information about why a serverless replication failed.public void setReplicationStats(ReplicationStats replicationStats)
This object provides a collection of statistics about a serverless replication.
replicationStats
- This object provides a collection of statistics about a serverless replication.public ReplicationStats getReplicationStats()
This object provides a collection of statistics about a serverless replication.
public Replication withReplicationStats(ReplicationStats replicationStats)
This object provides a collection of statistics about a serverless replication.
replicationStats
- This object provides a collection of statistics about a serverless replication.public void setStartReplicationType(String startReplicationType)
The replication type.
startReplicationType
- The replication type.public String getStartReplicationType()
The replication type.
public Replication withStartReplicationType(String startReplicationType)
The replication type.
startReplicationType
- The replication type.public void setCdcStartTime(Date cdcStartTime)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or
CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results
in an error.
cdcStartTime
- Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values
results in an error.public Date getCdcStartTime()
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or
CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results
in an error.
CdcStartTime
or CdcStartPosition
to specify when you want a CDC operation to start. Specifying both
values results in an error.public Replication withCdcStartTime(Date cdcStartTime)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or
CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results
in an error.
cdcStartTime
- Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values
results in an error.public void setCdcStartPosition(String cdcStartPosition)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or
CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results
in an error.
cdcStartPosition
- Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values
results in an error.public String getCdcStartPosition()
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or
CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results
in an error.
CdcStartTime
or CdcStartPosition
to specify when you want a CDC operation to start. Specifying both
values results in an error.public Replication withCdcStartPosition(String cdcStartPosition)
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or
CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values results
in an error.
cdcStartPosition
- Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime
or CdcStartPosition
to specify when you want a CDC operation to start. Specifying both values
results in an error.public void setCdcStopPosition(String cdcStopPosition)
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
cdcStopPosition
- Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time
or commit time.public String getCdcStopPosition()
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
public Replication withCdcStopPosition(String cdcStopPosition)
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
cdcStopPosition
- Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time
or commit time.public void setRecoveryCheckpoint(String 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.
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.public String getRecoveryCheckpoint()
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.
CdcStartPosition
parameter to start a CDC operation that begins at that
checkpoint.public Replication withRecoveryCheckpoint(String 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.
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.public void setReplicationCreateTime(Date replicationCreateTime)
The time the serverless replication was created.
replicationCreateTime
- The time the serverless replication was created.public Date getReplicationCreateTime()
The time the serverless replication was created.
public Replication withReplicationCreateTime(Date replicationCreateTime)
The time the serverless replication was created.
replicationCreateTime
- The time the serverless replication was created.public void setReplicationUpdateTime(Date replicationUpdateTime)
The time the serverless replication was updated.
replicationUpdateTime
- The time the serverless replication was updated.public Date getReplicationUpdateTime()
The time the serverless replication was updated.
public Replication withReplicationUpdateTime(Date replicationUpdateTime)
The time the serverless replication was updated.
replicationUpdateTime
- The time the serverless replication was updated.public void setReplicationLastStopTime(Date replicationLastStopTime)
The timestamp when replication was last stopped.
replicationLastStopTime
- The timestamp when replication was last stopped.public Date getReplicationLastStopTime()
The timestamp when replication was last stopped.
public Replication withReplicationLastStopTime(Date replicationLastStopTime)
The timestamp when replication was last stopped.
replicationLastStopTime
- The timestamp when replication was last stopped.public void setReplicationDeprovisionTime(Date replicationDeprovisionTime)
The timestamp when DMS will deprovision the replication.
replicationDeprovisionTime
- The timestamp when DMS will deprovision the replication.public Date getReplicationDeprovisionTime()
The timestamp when DMS will deprovision the replication.
public Replication withReplicationDeprovisionTime(Date replicationDeprovisionTime)
The timestamp when DMS will deprovision the replication.
replicationDeprovisionTime
- The timestamp when DMS will deprovision the replication.public String toString()
toString
in class Object
Object.toString()
public Replication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.