#[non_exhaustive]pub struct ReplicationBuilder { /* private fields */ }
Expand description
A builder for Replication
.
Implementations§
source§impl ReplicationBuilder
impl ReplicationBuilder
sourcepub fn replication_config_identifier(self, input: impl Into<String>) -> Self
pub fn replication_config_identifier(self, input: impl Into<String>) -> Self
The identifier for the ReplicationConfig
associated with the replication.
sourcepub fn set_replication_config_identifier(self, input: Option<String>) -> Self
pub fn set_replication_config_identifier(self, input: Option<String>) -> Self
The identifier for the ReplicationConfig
associated with the replication.
sourcepub fn get_replication_config_identifier(&self) -> &Option<String>
pub fn get_replication_config_identifier(&self) -> &Option<String>
The identifier for the ReplicationConfig
associated with the replication.
sourcepub fn replication_config_arn(self, input: impl Into<String>) -> Self
pub fn replication_config_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name for the ReplicationConfig
associated with the replication.
sourcepub fn set_replication_config_arn(self, input: Option<String>) -> Self
pub fn set_replication_config_arn(self, input: Option<String>) -> Self
The Amazon Resource Name for the ReplicationConfig
associated with the replication.
sourcepub fn get_replication_config_arn(&self) -> &Option<String>
pub fn get_replication_config_arn(&self) -> &Option<String>
The Amazon Resource Name for the ReplicationConfig
associated with the replication.
sourcepub fn source_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn source_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data source.
sourcepub fn set_source_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_source_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data source.
sourcepub fn get_source_endpoint_arn(&self) -> &Option<String>
pub fn get_source_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data source.
sourcepub fn target_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn target_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data target.
sourcepub fn set_target_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_target_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data target.
sourcepub fn get_target_endpoint_arn(&self) -> &Option<String>
pub fn get_target_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name for an existing Endpoint
the serverless replication uses for its data target.
sourcepub fn replication_type(self, input: MigrationTypeValue) -> Self
pub fn replication_type(self, input: MigrationTypeValue) -> Self
The type of the serverless replication.
sourcepub fn set_replication_type(self, input: Option<MigrationTypeValue>) -> Self
pub fn set_replication_type(self, input: Option<MigrationTypeValue>) -> Self
The type of the serverless replication.
sourcepub fn get_replication_type(&self) -> &Option<MigrationTypeValue>
pub fn get_replication_type(&self) -> &Option<MigrationTypeValue>
The type of the serverless replication.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current status of the serverless replication.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the serverless replication.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The current status of the serverless replication.
sourcepub fn provision_data(self, input: ProvisionData) -> Self
pub fn provision_data(self, input: ProvisionData) -> Self
Information about provisioning resources for an DMS serverless replication.
sourcepub fn set_provision_data(self, input: Option<ProvisionData>) -> Self
pub fn set_provision_data(self, input: Option<ProvisionData>) -> Self
Information about provisioning resources for an DMS serverless replication.
sourcepub fn get_provision_data(&self) -> &Option<ProvisionData>
pub fn get_provision_data(&self) -> &Option<ProvisionData>
Information about provisioning resources for an DMS serverless replication.
sourcepub fn stop_reason(self, input: impl Into<String>) -> Self
pub fn stop_reason(self, input: impl Into<String>) -> Self
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"
sourcepub fn set_stop_reason(self, input: Option<String>) -> Self
pub fn set_stop_reason(self, input: Option<String>) -> Self
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"
sourcepub fn get_stop_reason(&self) -> &Option<String>
pub fn get_stop_reason(&self) -> &Option<String>
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"
sourcepub fn failure_messages(self, input: impl Into<String>) -> Self
pub fn failure_messages(self, input: impl Into<String>) -> Self
Appends an item to failure_messages
.
To override the contents of this collection use set_failure_messages
.
Error and other information about why a serverless replication failed.
sourcepub fn set_failure_messages(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_messages(self, input: Option<Vec<String>>) -> Self
Error and other information about why a serverless replication failed.
sourcepub fn get_failure_messages(&self) -> &Option<Vec<String>>
pub fn get_failure_messages(&self) -> &Option<Vec<String>>
Error and other information about why a serverless replication failed.
sourcepub fn replication_stats(self, input: ReplicationStats) -> Self
pub fn replication_stats(self, input: ReplicationStats) -> Self
This object provides a collection of statistics about a serverless replication.
sourcepub fn set_replication_stats(self, input: Option<ReplicationStats>) -> Self
pub fn set_replication_stats(self, input: Option<ReplicationStats>) -> Self
This object provides a collection of statistics about a serverless replication.
sourcepub fn get_replication_stats(&self) -> &Option<ReplicationStats>
pub fn get_replication_stats(&self) -> &Option<ReplicationStats>
This object provides a collection of statistics about a serverless replication.
sourcepub fn start_replication_type(self, input: impl Into<String>) -> Self
pub fn start_replication_type(self, input: impl Into<String>) -> Self
The replication type.
sourcepub fn set_start_replication_type(self, input: Option<String>) -> Self
pub fn set_start_replication_type(self, input: Option<String>) -> Self
The replication type.
sourcepub fn get_start_replication_type(&self) -> &Option<String>
pub fn get_start_replication_type(&self) -> &Option<String>
The replication type.
sourcepub fn cdc_start_time(self, input: DateTime) -> Self
pub fn cdc_start_time(self, input: DateTime) -> Self
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.
sourcepub fn set_cdc_start_time(self, input: Option<DateTime>) -> Self
pub fn set_cdc_start_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn get_cdc_start_time(&self) -> &Option<DateTime>
pub fn get_cdc_start_time(&self) -> &Option<DateTime>
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.
sourcepub fn cdc_start_position(self, input: impl Into<String>) -> Self
pub fn cdc_start_position(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_cdc_start_position(self, input: Option<String>) -> Self
pub fn set_cdc_start_position(self, input: Option<String>) -> Self
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.
sourcepub fn get_cdc_start_position(&self) -> &Option<String>
pub fn get_cdc_start_position(&self) -> &Option<String>
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.
sourcepub fn cdc_stop_position(self, input: impl Into<String>) -> Self
pub fn cdc_stop_position(self, input: impl Into<String>) -> Self
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
sourcepub fn set_cdc_stop_position(self, input: Option<String>) -> Self
pub fn set_cdc_stop_position(self, input: Option<String>) -> Self
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
sourcepub fn get_cdc_stop_position(&self) -> &Option<String>
pub fn get_cdc_stop_position(&self) -> &Option<String>
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
sourcepub fn recovery_checkpoint(self, input: impl Into<String>) -> Self
pub fn recovery_checkpoint(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_recovery_checkpoint(self, input: Option<String>) -> Self
pub fn set_recovery_checkpoint(self, input: Option<String>) -> Self
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.
sourcepub fn get_recovery_checkpoint(&self) -> &Option<String>
pub fn get_recovery_checkpoint(&self) -> &Option<String>
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.
sourcepub fn replication_create_time(self, input: DateTime) -> Self
pub fn replication_create_time(self, input: DateTime) -> Self
The time the serverless replication was created.
sourcepub fn set_replication_create_time(self, input: Option<DateTime>) -> Self
pub fn set_replication_create_time(self, input: Option<DateTime>) -> Self
The time the serverless replication was created.
sourcepub fn get_replication_create_time(&self) -> &Option<DateTime>
pub fn get_replication_create_time(&self) -> &Option<DateTime>
The time the serverless replication was created.
sourcepub fn replication_update_time(self, input: DateTime) -> Self
pub fn replication_update_time(self, input: DateTime) -> Self
The time the serverless replication was updated.
sourcepub fn set_replication_update_time(self, input: Option<DateTime>) -> Self
pub fn set_replication_update_time(self, input: Option<DateTime>) -> Self
The time the serverless replication was updated.
sourcepub fn get_replication_update_time(&self) -> &Option<DateTime>
pub fn get_replication_update_time(&self) -> &Option<DateTime>
The time the serverless replication was updated.
sourcepub fn replication_last_stop_time(self, input: DateTime) -> Self
pub fn replication_last_stop_time(self, input: DateTime) -> Self
The timestamp when replication was last stopped.
sourcepub fn set_replication_last_stop_time(self, input: Option<DateTime>) -> Self
pub fn set_replication_last_stop_time(self, input: Option<DateTime>) -> Self
The timestamp when replication was last stopped.
sourcepub fn get_replication_last_stop_time(&self) -> &Option<DateTime>
pub fn get_replication_last_stop_time(&self) -> &Option<DateTime>
The timestamp when replication was last stopped.
sourcepub fn replication_deprovision_time(self, input: DateTime) -> Self
pub fn replication_deprovision_time(self, input: DateTime) -> Self
The timestamp when DMS will deprovision the replication.
sourcepub fn set_replication_deprovision_time(self, input: Option<DateTime>) -> Self
pub fn set_replication_deprovision_time(self, input: Option<DateTime>) -> Self
The timestamp when DMS will deprovision the replication.
sourcepub fn get_replication_deprovision_time(&self) -> &Option<DateTime>
pub fn get_replication_deprovision_time(&self) -> &Option<DateTime>
The timestamp when DMS will deprovision the replication.
sourcepub fn build(self) -> Replication
pub fn build(self) -> Replication
Consumes the builder and constructs a Replication
.
Trait Implementations§
source§impl Clone for ReplicationBuilder
impl Clone for ReplicationBuilder
source§fn clone(&self) -> ReplicationBuilder
fn clone(&self) -> ReplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationBuilder
impl Debug for ReplicationBuilder
source§impl Default for ReplicationBuilder
impl Default for ReplicationBuilder
source§fn default() -> ReplicationBuilder
fn default() -> ReplicationBuilder
source§impl PartialEq for ReplicationBuilder
impl PartialEq for ReplicationBuilder
source§fn eq(&self, other: &ReplicationBuilder) -> bool
fn eq(&self, other: &ReplicationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.