Class Replication
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Replication.Builder,Replication>
Provides information that describes a serverless replication created by the CreateReplication operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Replication.Builderbuilder()final StringIndicates the start time for a change data capture (CDC) operation.final InstantIndicates the start time for a change data capture (CDC) operation.final StringIndicates when you want a change data capture (CDC) operation to stop.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.Error and other information about why a serverless replication failed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the FailureMessages property.final inthashCode()final ProvisionDataInformation about provisioning resources for an DMS serverless replication.final StringIndicates the last checkpoint that occurred during a change data capture (CDC) operation.final StringThe Amazon Resource Name for theReplicationConfigassociated with the replication.final StringThe identifier for theReplicationConfigassociated with the replication.final InstantThe time the serverless replication was created.final InstantThe timestamp when DMS will deprovision the replication.final InstantThe timestamp when replication was last stopped.final ReplicationStatsThis object provides a collection of statistics about a serverless replication.final MigrationTypeValueThe type of the serverless replication.final StringThe type of the serverless replication.final InstantThe time the serverless replication was updated.static Class<? extends Replication.Builder> final StringThe Amazon Resource Name for an existingEndpointthe serverless replication uses for its data source.final StringThe replication type.final Stringstatus()The current status of the serverless replication.final StringThe reason the replication task was stopped.final StringThe Amazon Resource Name for an existingEndpointthe serverless replication uses for its data target.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
replicationConfigIdentifier
The identifier for the
ReplicationConfigassociated with the replication.- Returns:
- The identifier for the
ReplicationConfigassociated with the replication.
-
replicationConfigArn
The Amazon Resource Name for the
ReplicationConfigassociated with the replication.- Returns:
- The Amazon Resource Name for the
ReplicationConfigassociated with the replication.
-
sourceEndpointArn
The Amazon Resource Name for an existing
Endpointthe serverless replication uses for its data source.- Returns:
- The Amazon Resource Name for an existing
Endpointthe serverless replication uses for its data source.
-
targetEndpointArn
The Amazon Resource Name for an existing
Endpointthe serverless replication uses for its data target.- Returns:
- The Amazon Resource Name for an existing
Endpointthe serverless replication uses for its data target.
-
replicationType
The type of the serverless replication.
If the service returns an enum value that is not available in the current SDK version,
replicationTypewill returnMigrationTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreplicationTypeAsString().- Returns:
- The type of the serverless replication.
- See Also:
-
replicationTypeAsString
The type of the serverless replication.
If the service returns an enum value that is not available in the current SDK version,
replicationTypewill returnMigrationTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreplicationTypeAsString().- Returns:
- The type of the serverless replication.
- See Also:
-
status
The current status of the serverless replication.
- Returns:
- The current status of the serverless replication.
-
provisionData
Information about provisioning resources for an DMS serverless replication.
- Returns:
- Information about provisioning resources for an DMS serverless replication.
-
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:
- 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"
-
-
-
hasFailureMessages
public final boolean hasFailureMessages()For responses, this returns true if the service returned a value for the FailureMessages property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- Error and other information about why a serverless replication failed.
-
replicationStats
This object provides a collection of statistics about a serverless replication.
- Returns:
- This object provides a collection of statistics about a serverless replication.
-
startReplicationType
-
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.- Returns:
- 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.
-
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.- Returns:
- 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.
-
cdcStopPosition
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
- Returns:
- Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
-
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.- Returns:
- 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.
-
replicationCreateTime
The time the serverless replication was created.
- Returns:
- The time the serverless replication was created.
-
replicationUpdateTime
The time the serverless replication was updated.
- Returns:
- The time the serverless replication was updated.
-
replicationLastStopTime
The timestamp when replication was last stopped.
- Returns:
- The timestamp when replication was last stopped.
-
replicationDeprovisionTime
The timestamp when DMS will deprovision the replication.
- Returns:
- The timestamp when DMS will deprovision the replication.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Replication.Builder,Replication> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-