@Generated(value="software.amazon.awssdk:codegen") public final class Replication extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Replication.Builder,Replication>
Provides information that describes a serverless replication created by the CreateReplication operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Replication.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Replication.Builder |
builder() |
String |
cdcStartPosition()
Indicates the start time for a change data capture (CDC) operation.
|
Instant |
cdcStartTime()
Indicates the start time for a change data capture (CDC) operation.
|
String |
cdcStopPosition()
Indicates when you want a change data capture (CDC) operation to stop.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
failureMessages()
Error and other information about why a serverless replication failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFailureMessages()
For responses, this returns true if the service returned a value for the FailureMessages property.
|
int |
hashCode() |
ProvisionData |
provisionData()
Information about provisioning resources for an DMS serverless replication.
|
String |
recoveryCheckpoint()
Indicates the last checkpoint that occurred during a change data capture (CDC) operation.
|
String |
replicationConfigArn()
The Amazon Resource Name for the
ReplicationConfig associated with the replication. |
String |
replicationConfigIdentifier()
The identifier for the
ReplicationConfig associated with the replication. |
Instant |
replicationCreateTime()
The time the serverless replication was created.
|
Instant |
replicationLastStopTime()
The timestamp when replication was last stopped.
|
ReplicationStats |
replicationStats()
This object provides a collection of statistics about a serverless replication.
|
MigrationTypeValue |
replicationType()
The type of the serverless replication.
|
String |
replicationTypeAsString()
The type of the serverless replication.
|
Instant |
replicationUpdateTime()
The time the serverless replication was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Replication.Builder> |
serializableBuilderClass() |
String |
sourceEndpointArn()
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
source. |
String |
startReplicationType()
The replication type.
|
String |
status()
The current status of the serverless replication.
|
String |
stopReason()
The reason the replication task was stopped.
|
String |
targetEndpointArn()
The Amazon Resource Name for an existing
Endpoint the serverless replication uses for its data
target. |
Replication.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationConfigIdentifier()
The identifier for the ReplicationConfig associated with the replication.
ReplicationConfig associated with the replication.public final String replicationConfigArn()
The Amazon Resource Name for the ReplicationConfig associated with the replication.
ReplicationConfig associated with the replication.public final String sourceEndpointArn()
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 final String targetEndpointArn()
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 final MigrationTypeValue replicationType()
The type of the serverless replication.
If the service returns an enum value that is not available in the current SDK version, replicationType
will return MigrationTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from replicationTypeAsString().
MigrationTypeValuepublic final String replicationTypeAsString()
The type of the serverless replication.
If the service returns an enum value that is not available in the current SDK version, replicationType
will return MigrationTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from replicationTypeAsString().
MigrationTypeValuepublic final String status()
The current status of the serverless replication.
public final ProvisionData provisionData()
Information about provisioning resources for an DMS serverless replication.
public final 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"
"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 final boolean hasFailureMessages()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> failureMessages()
Error and other information about why a serverless replication failed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFailureMessages() method.
public final ReplicationStats replicationStats()
This object provides a collection of statistics about a serverless replication.
public final String startReplicationType()
The replication type.
public final Instant 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
or CdcStartPosition to specify when you want a CDC operation to start. Specifying both
values results in an error.public final 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.
CdcStartTime
or CdcStartPosition to specify when you want a CDC operation to start. Specifying both
values results in an error.public final String cdcStopPosition()
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
public final 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.
CdcStartPosition parameter to start a CDC operation that begins at that
checkpoint.public final Instant replicationCreateTime()
The time the serverless replication was created.
public final Instant replicationUpdateTime()
The time the serverless replication was updated.
public final Instant replicationLastStopTime()
The timestamp when replication was last stopped.
public Replication.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Replication.Builder,Replication>public static Replication.Builder builder()
public static Class<? extends Replication.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.