Struct aws_sdk_elasticache::operation::start_migration::builders::StartMigrationInputBuilder
source · #[non_exhaustive]pub struct StartMigrationInputBuilder { /* private fields */ }
Expand description
A builder for StartMigrationInput
.
Implementations§
source§impl StartMigrationInputBuilder
impl StartMigrationInputBuilder
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.
This field is required.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 get_replication_group_id(&self) -> &Option<String>
pub fn get_replication_group_id(&self) -> &Option<String>
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 customer_node_endpoint_list
.
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.
sourcepub fn get_customer_node_endpoint_list(
&self
) -> &Option<Vec<CustomerNodeEndpoint>>
pub fn get_customer_node_endpoint_list( &self ) -> &Option<Vec<CustomerNodeEndpoint>>
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
sourcepub fn build(self) -> Result<StartMigrationInput, BuildError>
pub fn build(self) -> Result<StartMigrationInput, BuildError>
Consumes the builder and constructs a StartMigrationInput
.
source§impl StartMigrationInputBuilder
impl StartMigrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartMigrationOutput, SdkError<StartMigrationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartMigrationOutput, SdkError<StartMigrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartMigrationInputBuilder
impl Clone for StartMigrationInputBuilder
source§fn clone(&self) -> StartMigrationInputBuilder
fn clone(&self) -> StartMigrationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartMigrationInputBuilder
impl Debug for StartMigrationInputBuilder
source§impl Default for StartMigrationInputBuilder
impl Default for StartMigrationInputBuilder
source§fn default() -> StartMigrationInputBuilder
fn default() -> StartMigrationInputBuilder
source§impl PartialEq for StartMigrationInputBuilder
impl PartialEq for StartMigrationInputBuilder
source§fn eq(&self, other: &StartMigrationInputBuilder) -> bool
fn eq(&self, other: &StartMigrationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.