#[non_exhaustive]pub struct TestMigrationInputBuilder { /* private fields */ }
Expand description
A builder for TestMigrationInput
.
Implementations§
source§impl TestMigrationInputBuilder
impl TestMigrationInputBuilder
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 to 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 is to 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 is to 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. 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. 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. List should have only one element.
sourcepub fn build(self) -> Result<TestMigrationInput, BuildError>
pub fn build(self) -> Result<TestMigrationInput, BuildError>
Consumes the builder and constructs a TestMigrationInput
.
source§impl TestMigrationInputBuilder
impl TestMigrationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TestMigrationOutput, SdkError<TestMigrationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TestMigrationOutput, SdkError<TestMigrationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestMigrationInputBuilder
impl Clone for TestMigrationInputBuilder
source§fn clone(&self) -> TestMigrationInputBuilder
fn clone(&self) -> TestMigrationInputBuilder
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 TestMigrationInputBuilder
impl Debug for TestMigrationInputBuilder
source§impl Default for TestMigrationInputBuilder
impl Default for TestMigrationInputBuilder
source§fn default() -> TestMigrationInputBuilder
fn default() -> TestMigrationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestMigrationInputBuilder
impl PartialEq for TestMigrationInputBuilder
source§fn eq(&self, other: &TestMigrationInputBuilder) -> bool
fn eq(&self, other: &TestMigrationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestMigrationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TestMigrationInputBuilder
impl Send for TestMigrationInputBuilder
impl Sync for TestMigrationInputBuilder
impl Unpin for TestMigrationInputBuilder
impl UnwindSafe for TestMigrationInputBuilder
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.