Struct aws_sdk_databasemigration::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder
source · pub struct MoveReplicationTaskFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to MoveReplicationTask
.
Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.
Implementations§
source§impl MoveReplicationTaskFluentBuilder
impl MoveReplicationTaskFluentBuilder
sourcepub fn as_input(&self) -> &MoveReplicationTaskInputBuilder
pub fn as_input(&self) -> &MoveReplicationTaskInputBuilder
Access the MoveReplicationTask as a reference.
sourcepub async fn send(
self
) -> Result<MoveReplicationTaskOutput, SdkError<MoveReplicationTaskError, HttpResponse>>
pub async fn send( self ) -> Result<MoveReplicationTaskOutput, SdkError<MoveReplicationTaskError, 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<MoveReplicationTaskOutput, MoveReplicationTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<MoveReplicationTaskOutput, MoveReplicationTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn replication_task_arn(self, input: impl Into<String>) -> Self
pub fn replication_task_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the task that you want to move.
sourcepub fn set_replication_task_arn(self, input: Option<String>) -> Self
pub fn set_replication_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task that you want to move.
sourcepub fn get_replication_task_arn(&self) -> &Option<String>
pub fn get_replication_task_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the task that you want to move.
sourcepub fn target_replication_instance_arn(self, input: impl Into<String>) -> Self
pub fn target_replication_instance_arn(self, input: impl Into<String>) -> Self
The ARN of the replication instance where you want to move the task to.
sourcepub fn set_target_replication_instance_arn(self, input: Option<String>) -> Self
pub fn set_target_replication_instance_arn(self, input: Option<String>) -> Self
The ARN of the replication instance where you want to move the task to.
sourcepub fn get_target_replication_instance_arn(&self) -> &Option<String>
pub fn get_target_replication_instance_arn(&self) -> &Option<String>
The ARN of the replication instance where you want to move the task to.
Trait Implementations§
source§impl Clone for MoveReplicationTaskFluentBuilder
impl Clone for MoveReplicationTaskFluentBuilder
source§fn clone(&self) -> MoveReplicationTaskFluentBuilder
fn clone(&self) -> MoveReplicationTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more