#[non_exhaustive]
pub struct ReplicationBuilder { /* private fields */ }
Expand description

A builder for Replication.

Implementations§

source§

impl ReplicationBuilder

source

pub fn replication_config_identifier(self, input: impl Into<String>) -> Self

The identifier for the ReplicationConfig associated with the replication.

source

pub fn set_replication_config_identifier(self, input: Option<String>) -> Self

The identifier for the ReplicationConfig associated with the replication.

source

pub fn get_replication_config_identifier(&self) -> &Option<String>

The identifier for the ReplicationConfig associated with the replication.

source

pub fn replication_config_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name for the ReplicationConfig associated with the replication.

source

pub fn set_replication_config_arn(self, input: Option<String>) -> Self

The Amazon Resource Name for the ReplicationConfig associated with the replication.

source

pub fn get_replication_config_arn(&self) -> &Option<String>

The Amazon Resource Name for the ReplicationConfig associated with the replication.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn replication_type(self, input: MigrationTypeValue) -> Self

The type of the serverless replication.

source

pub fn set_replication_type(self, input: Option<MigrationTypeValue>) -> Self

The type of the serverless replication.

source

pub fn get_replication_type(&self) -> &Option<MigrationTypeValue>

The type of the serverless replication.

source

pub fn status(self, input: impl Into<String>) -> Self

The current status of the serverless replication.

source

pub fn set_status(self, input: Option<String>) -> Self

The current status of the serverless replication.

source

pub fn get_status(&self) -> &Option<String>

The current status of the serverless replication.

source

pub fn provision_data(self, input: ProvisionData) -> Self

Information about provisioning resources for an DMS serverless replication.

source

pub fn set_provision_data(self, input: Option<ProvisionData>) -> Self

Information about provisioning resources for an DMS serverless replication.

source

pub fn get_provision_data(&self) -> &Option<ProvisionData>

Information about provisioning resources for an DMS serverless replication.

source

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"

source

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"

source

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"

source

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.

source

pub fn set_failure_messages(self, input: Option<Vec<String>>) -> Self

Error and other information about why a serverless replication failed.

source

pub fn get_failure_messages(&self) -> &Option<Vec<String>>

Error and other information about why a serverless replication failed.

source

pub fn replication_stats(self, input: ReplicationStats) -> Self

This object provides a collection of statistics about a serverless replication.

source

pub fn set_replication_stats(self, input: Option<ReplicationStats>) -> Self

This object provides a collection of statistics about a serverless replication.

source

pub fn get_replication_stats(&self) -> &Option<ReplicationStats>

This object provides a collection of statistics about a serverless replication.

source

pub fn start_replication_type(self, input: impl Into<String>) -> Self

The replication type.

source

pub fn set_start_replication_type(self, input: Option<String>) -> Self

The replication type.

source

pub fn get_start_replication_type(&self) -> &Option<String>

The replication type.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn replication_create_time(self, input: DateTime) -> Self

The time the serverless replication was created.

source

pub fn set_replication_create_time(self, input: Option<DateTime>) -> Self

The time the serverless replication was created.

source

pub fn get_replication_create_time(&self) -> &Option<DateTime>

The time the serverless replication was created.

source

pub fn replication_update_time(self, input: DateTime) -> Self

The time the serverless replication was updated.

source

pub fn set_replication_update_time(self, input: Option<DateTime>) -> Self

The time the serverless replication was updated.

source

pub fn get_replication_update_time(&self) -> &Option<DateTime>

The time the serverless replication was updated.

source

pub fn replication_last_stop_time(self, input: DateTime) -> Self

The timestamp when replication was last stopped.

source

pub fn set_replication_last_stop_time(self, input: Option<DateTime>) -> Self

The timestamp when replication was last stopped.

source

pub fn get_replication_last_stop_time(&self) -> &Option<DateTime>

The timestamp when replication was last stopped.

source

pub fn replication_deprovision_time(self, input: DateTime) -> Self

The timestamp when DMS will deprovision the replication.

source

pub fn set_replication_deprovision_time(self, input: Option<DateTime>) -> Self

The timestamp when DMS will deprovision the replication.

source

pub fn get_replication_deprovision_time(&self) -> &Option<DateTime>

The timestamp when DMS will deprovision the replication.

source

pub fn build(self) -> Replication

Consumes the builder and constructs a Replication.

Trait Implementations§

source§

impl Clone for ReplicationBuilder

source§

fn clone(&self) -> ReplicationBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReplicationBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ReplicationBuilder

source§

fn default() -> ReplicationBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for ReplicationBuilder

source§

fn eq(&self, other: &ReplicationBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ReplicationBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more