Struct aws_sdk_databasemigration::operation::test_connection::builders::TestConnectionFluentBuilder
source · pub struct TestConnectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to TestConnection
.
Tests the connection between the replication instance and the endpoint.
Implementations§
source§impl TestConnectionFluentBuilder
impl TestConnectionFluentBuilder
sourcepub fn as_input(&self) -> &TestConnectionInputBuilder
pub fn as_input(&self) -> &TestConnectionInputBuilder
Access the TestConnection as a reference.
sourcepub async fn send(
self
) -> Result<TestConnectionOutput, SdkError<TestConnectionError, HttpResponse>>
pub async fn send( self ) -> Result<TestConnectionOutput, SdkError<TestConnectionError, 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<TestConnectionOutput, TestConnectionError, Self>
pub fn customize( self ) -> CustomizableOperation<TestConnectionOutput, TestConnectionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn replication_instance_arn(self, input: impl Into<String>) -> Self
pub fn replication_instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn set_replication_instance_arn(self, input: Option<String>) -> Self
pub fn set_replication_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn get_replication_instance_arn(&self) -> &Option<String>
pub fn get_replication_instance_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn endpoint_arn(self, input: impl Into<String>) -> Self
pub fn endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
sourcepub fn set_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
sourcepub fn get_endpoint_arn(&self) -> &Option<String>
pub fn get_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
Trait Implementations§
source§impl Clone for TestConnectionFluentBuilder
impl Clone for TestConnectionFluentBuilder
source§fn clone(&self) -> TestConnectionFluentBuilder
fn clone(&self) -> TestConnectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more