Struct aws_sdk_elasticache::client::fluent_builders::StartMigration
source · pub struct StartMigration { /* private fields */ }
Expand description
Fluent builder constructing a request to StartMigration
.
Start the migration of data.
Implementations§
source§impl StartMigration
impl StartMigration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartMigration, AwsResponseRetryClassifier>, SdkError<StartMigrationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartMigration, AwsResponseRetryClassifier>, SdkError<StartMigrationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StartMigrationOutput, SdkError<StartMigrationError>>
pub async fn send(
self
) -> Result<StartMigrationOutput, SdkError<StartMigrationError>>
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 replication_group_id(self, input: impl Into<String>) -> Self
pub fn replication_group_id(self, input: impl Into<String>) -> Self
The ID of the replication group to which data should be migrated.
sourcepub fn set_replication_group_id(self, input: Option<String>) -> Self
pub fn set_replication_group_id(self, input: Option<String>) -> Self
The ID of the replication group to which data should be migrated.
sourcepub fn customer_node_endpoint_list(self, input: CustomerNodeEndpoint) -> Self
pub fn customer_node_endpoint_list(self, input: CustomerNodeEndpoint) -> Self
Appends an item to CustomerNodeEndpointList
.
To override the contents of this collection use set_customer_node_endpoint_list
.
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
sourcepub fn set_customer_node_endpoint_list(
self,
input: Option<Vec<CustomerNodeEndpoint>>
) -> Self
pub fn set_customer_node_endpoint_list(
self,
input: Option<Vec<CustomerNodeEndpoint>>
) -> Self
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
Trait Implementations§
source§impl Clone for StartMigration
impl Clone for StartMigration
source§fn clone(&self) -> StartMigration
fn clone(&self) -> StartMigration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more