pub struct TestMigrationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to TestMigration
.
Async API to test connection between source and target replication group.
Implementations§
source§impl TestMigrationFluentBuilder
impl TestMigrationFluentBuilder
sourcepub fn as_input(&self) -> &TestMigrationInputBuilder
pub fn as_input(&self) -> &TestMigrationInputBuilder
Access the TestMigration as a reference.
sourcepub async fn send(
self,
) -> Result<TestMigrationOutput, SdkError<TestMigrationError, HttpResponse>>
pub async fn send( self, ) -> Result<TestMigrationOutput, SdkError<TestMigrationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<TestMigrationOutput, TestMigrationError, Self>
pub fn customize( self, ) -> CustomizableOperation<TestMigrationOutput, TestMigrationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 CustomerNodeEndpointList
.
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.
Trait Implementations§
source§impl Clone for TestMigrationFluentBuilder
impl Clone for TestMigrationFluentBuilder
source§fn clone(&self) -> TestMigrationFluentBuilder
fn clone(&self) -> TestMigrationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for TestMigrationFluentBuilder
impl !RefUnwindSafe for TestMigrationFluentBuilder
impl Send for TestMigrationFluentBuilder
impl Sync for TestMigrationFluentBuilder
impl Unpin for TestMigrationFluentBuilder
impl !UnwindSafe for TestMigrationFluentBuilder
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