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 ==
.impl StructuralPartialEq for CompleteMigrationInputBuilder
Auto Trait Implementations§
impl Freeze for CompleteMigrationInputBuilder
impl RefUnwindSafe for CompleteMigrationInputBuilder
impl Send for CompleteMigrationInputBuilder
impl Sync for CompleteMigrationInputBuilder
impl Unpin for CompleteMigrationInputBuilder
impl UnwindSafe for CompleteMigrationInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more