Struct aws_sdk_elasticache::operation::complete_migration::builders::CompleteMigrationInputBuilder
source · #[non_exhaustive]pub struct CompleteMigrationInputBuilder { /* private fields */ }
Expand description
A builder for CompleteMigrationInput
.
Implementations§
source§impl CompleteMigrationInputBuilder
impl CompleteMigrationInputBuilder
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 is being 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 is being 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 is being migrated.
sourcepub fn force(self, input: bool) -> Self
pub fn force(self, input: bool) -> Self
Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.
sourcepub fn set_force(self, input: Option<bool>) -> Self
pub fn set_force(self, input: Option<bool>) -> Self
Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.
sourcepub fn get_force(&self) -> &Option<bool>
pub fn get_force(&self) -> &Option<bool>
Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.
sourcepub fn build(self) -> Result<CompleteMigrationInput, BuildError>
pub fn build(self) -> Result<CompleteMigrationInput, BuildError>
Consumes the builder and constructs a CompleteMigrationInput
.
source§impl CompleteMigrationInputBuilder
impl CompleteMigrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CompleteMigrationOutput, SdkError<CompleteMigrationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CompleteMigrationOutput, SdkError<CompleteMigrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CompleteMigrationInputBuilder
impl Clone for CompleteMigrationInputBuilder
source§fn clone(&self) -> CompleteMigrationInputBuilder
fn clone(&self) -> CompleteMigrationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CompleteMigrationInputBuilder
impl Default for CompleteMigrationInputBuilder
source§fn default() -> CompleteMigrationInputBuilder
fn default() -> CompleteMigrationInputBuilder
source§impl PartialEq for CompleteMigrationInputBuilder
impl PartialEq for CompleteMigrationInputBuilder
source§fn eq(&self, other: &CompleteMigrationInputBuilder) -> bool
fn eq(&self, other: &CompleteMigrationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.