#[non_exhaustive]pub struct StartMigrationInput {
pub replication_group_id: Option<String>,
pub customer_node_endpoint_list: Option<Vec<CustomerNodeEndpoint>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_group_id: Option<String>
The ID of the replication group to which data should be migrated.
customer_node_endpoint_list: Option<Vec<CustomerNodeEndpoint>>
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
Implementations§
source§impl StartMigrationInput
impl StartMigrationInput
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The ID of the replication group to which data should be migrated.
sourcepub fn customer_node_endpoint_list(&self) -> &[CustomerNodeEndpoint]
pub fn customer_node_endpoint_list(&self) -> &[CustomerNodeEndpoint]
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .customer_node_endpoint_list.is_none()
.
source§impl StartMigrationInput
impl StartMigrationInput
sourcepub fn builder() -> StartMigrationInputBuilder
pub fn builder() -> StartMigrationInputBuilder
Creates a new builder-style object to manufacture StartMigrationInput
.
Trait Implementations§
source§impl Clone for StartMigrationInput
impl Clone for StartMigrationInput
source§fn clone(&self) -> StartMigrationInput
fn clone(&self) -> StartMigrationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StartMigrationInput
impl Debug for StartMigrationInput
source§impl PartialEq for StartMigrationInput
impl PartialEq for StartMigrationInput
source§fn eq(&self, other: &StartMigrationInput) -> bool
fn eq(&self, other: &StartMigrationInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartMigrationInput
Auto Trait Implementations§
impl RefUnwindSafe for StartMigrationInput
impl Send for StartMigrationInput
impl Sync for StartMigrationInput
impl Unpin for StartMigrationInput
impl UnwindSafe for StartMigrationInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.