Struct aws_sdk_databasemigration::operation::start_replication::builders::StartReplicationInputBuilder
source · #[non_exhaustive]pub struct StartReplicationInputBuilder { /* private fields */ }
Expand description
A builder for StartReplicationInput
.
Implementations§
source§impl StartReplicationInputBuilder
impl StartReplicationInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<StartReplicationInput, BuildError>
pub fn build(self) -> Result<StartReplicationInput, BuildError>
Consumes the builder and constructs a StartReplicationInput
.
source§impl StartReplicationInputBuilder
impl StartReplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartReplicationOutput, SdkError<StartReplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartReplicationOutput, SdkError<StartReplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartReplicationInputBuilder
impl Clone for StartReplicationInputBuilder
source§fn clone(&self) -> StartReplicationInputBuilder
fn clone(&self) -> StartReplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartReplicationInputBuilder
impl Debug for StartReplicationInputBuilder
source§impl Default for StartReplicationInputBuilder
impl Default for StartReplicationInputBuilder
source§fn default() -> StartReplicationInputBuilder
fn default() -> StartReplicationInputBuilder
source§impl PartialEq for StartReplicationInputBuilder
impl PartialEq for StartReplicationInputBuilder
source§fn eq(&self, other: &StartReplicationInputBuilder) -> bool
fn eq(&self, other: &StartReplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.