#[non_exhaustive]pub struct StartReplicationInput {
pub replication_config_arn: Option<String>,
pub start_replication_type: Option<String>,
pub cdc_start_time: Option<DateTime>,
pub cdc_start_position: Option<String>,
pub cdc_stop_position: Option<String>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_config_arn: Option<String>
The Amazon Resource Name of the replication for which to start replication.
start_replication_type: Option<String>
The replication type.
cdc_start_time: 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.
cdc_start_position: 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.
cdc_stop_position: Option<String>
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
Implementations§
source§impl StartReplicationInput
impl StartReplicationInput
sourcepub fn replication_config_arn(&self) -> Option<&str>
pub fn replication_config_arn(&self) -> Option<&str>
The Amazon Resource Name of the replication for which to start replication.
sourcepub fn start_replication_type(&self) -> Option<&str>
pub fn start_replication_type(&self) -> Option<&str>
The replication type.
sourcepub fn cdc_start_time(&self) -> Option<&DateTime>
pub fn 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) -> Option<&str>
pub fn cdc_start_position(&self) -> Option<&str>
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) -> Option<&str>
pub fn cdc_stop_position(&self) -> Option<&str>
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
source§impl StartReplicationInput
impl StartReplicationInput
sourcepub fn builder() -> StartReplicationInputBuilder
pub fn builder() -> StartReplicationInputBuilder
Creates a new builder-style object to manufacture StartReplicationInput
.
Trait Implementations§
source§impl Clone for StartReplicationInput
impl Clone for StartReplicationInput
source§fn clone(&self) -> StartReplicationInput
fn clone(&self) -> StartReplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartReplicationInput
impl Debug for StartReplicationInput
source§impl PartialEq for StartReplicationInput
impl PartialEq for StartReplicationInput
source§fn eq(&self, other: &StartReplicationInput) -> bool
fn eq(&self, other: &StartReplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.