Struct aws_sdk_databasemigration::operation::start_replication::builders::StartReplicationFluentBuilder
source · pub struct StartReplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartReplication
.
For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.
Implementations§
source§impl StartReplicationFluentBuilder
impl StartReplicationFluentBuilder
sourcepub fn as_input(&self) -> &StartReplicationInputBuilder
pub fn as_input(&self) -> &StartReplicationInputBuilder
Access the StartReplication as a reference.
sourcepub async fn send(
self
) -> Result<StartReplicationOutput, SdkError<StartReplicationError, HttpResponse>>
pub async fn send( self ) -> Result<StartReplicationOutput, SdkError<StartReplicationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartReplicationOutput, StartReplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<StartReplicationOutput, StartReplicationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 of the replication for which to start 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 of the replication for which to start replication.
sourcepub fn get_replication_config_arn(&self) -> &Option<String>
pub fn get_replication_config_arn(&self) -> &Option<String>
The Amazon Resource Name of the replication for which to start 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 when you want a change data capture (CDC) operation to start. Use either CdcStartPosition
or CdcStartTime
to specify when you want a CDC operation to start. Specifying both values results in an error.
The value can be in date, checkpoint, or LSN/SCN format.
sourcepub fn set_cdc_start_position(self, input: Option<String>) -> Self
pub fn set_cdc_start_position(self, input: Option<String>) -> Self
Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition
or CdcStartTime
to specify when you want a CDC operation to start. Specifying both values results in an error.
The value can be in date, checkpoint, or LSN/SCN format.
sourcepub fn get_cdc_start_position(&self) -> &Option<String>
pub fn get_cdc_start_position(&self) -> &Option<String>
Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition
or CdcStartTime
to specify when you want a CDC operation to start. Specifying both values results in an error.
The value can be in date, checkpoint, or LSN/SCN format.
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.
Trait Implementations§
source§impl Clone for StartReplicationFluentBuilder
impl Clone for StartReplicationFluentBuilder
source§fn clone(&self) -> StartReplicationFluentBuilder
fn clone(&self) -> StartReplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more