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 ==
.impl StructuralPartialEq for StartMigrationInputBuilder
Auto Trait Implementations§
impl Freeze for StartMigrationInputBuilder
impl RefUnwindSafe for StartMigrationInputBuilder
impl Send for StartMigrationInputBuilder
impl Sync for StartMigrationInputBuilder
impl Unpin for StartMigrationInputBuilder
impl UnwindSafe for StartMigrationInputBuilder
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