#[non_exhaustive]pub struct ConnectionBuilder { /* private fields */ }
Expand description
A builder for Connection
.
Implementations§
source§impl ConnectionBuilder
impl ConnectionBuilder
sourcepub fn replication_instance_arn(self, input: impl Into<String>) -> Self
pub fn replication_instance_arn(self, input: impl Into<String>) -> Self
The 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 ARN of the replication instance.
sourcepub fn get_replication_instance_arn(&self) -> &Option<String>
pub fn get_replication_instance_arn(&self) -> &Option<String>
The 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 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 ARN string that uniquely identifies the endpoint.
sourcepub fn get_endpoint_arn(&self) -> &Option<String>
pub fn get_endpoint_arn(&self) -> &Option<String>
The ARN string that uniquely identifies the endpoint.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The connection status. This parameter can return one of the following values:
-
"successful"
-
"testing"
-
"failed"
-
"deleting"
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The connection status. This parameter can return one of the following values:
-
"successful"
-
"testing"
-
"failed"
-
"deleting"
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The connection status. This parameter can return one of the following values:
-
"successful"
-
"testing"
-
"failed"
-
"deleting"
sourcepub fn last_failure_message(self, input: impl Into<String>) -> Self
pub fn last_failure_message(self, input: impl Into<String>) -> Self
The error message when the connection last failed.
sourcepub fn set_last_failure_message(self, input: Option<String>) -> Self
pub fn set_last_failure_message(self, input: Option<String>) -> Self
The error message when the connection last failed.
sourcepub fn get_last_failure_message(&self) -> &Option<String>
pub fn get_last_failure_message(&self) -> &Option<String>
The error message when the connection last failed.
sourcepub fn endpoint_identifier(self, input: impl Into<String>) -> Self
pub fn endpoint_identifier(self, input: impl Into<String>) -> Self
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn set_endpoint_identifier(self, input: Option<String>) -> Self
pub fn set_endpoint_identifier(self, input: Option<String>) -> Self
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn get_endpoint_identifier(&self) -> &Option<String>
pub fn get_endpoint_identifier(&self) -> &Option<String>
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn replication_instance_identifier(self, input: impl Into<String>) -> Self
pub fn replication_instance_identifier(self, input: impl Into<String>) -> Self
The replication instance identifier. This parameter is stored as a lowercase string.
sourcepub fn set_replication_instance_identifier(self, input: Option<String>) -> Self
pub fn set_replication_instance_identifier(self, input: Option<String>) -> Self
The replication instance identifier. This parameter is stored as a lowercase string.
sourcepub fn get_replication_instance_identifier(&self) -> &Option<String>
pub fn get_replication_instance_identifier(&self) -> &Option<String>
The replication instance identifier. This parameter is stored as a lowercase string.
sourcepub fn build(self) -> Connection
pub fn build(self) -> Connection
Consumes the builder and constructs a Connection
.
Trait Implementations§
source§impl Clone for ConnectionBuilder
impl Clone for ConnectionBuilder
source§fn clone(&self) -> ConnectionBuilder
fn clone(&self) -> ConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectionBuilder
impl Debug for ConnectionBuilder
source§impl Default for ConnectionBuilder
impl Default for ConnectionBuilder
source§fn default() -> ConnectionBuilder
fn default() -> ConnectionBuilder
source§impl PartialEq for ConnectionBuilder
impl PartialEq for ConnectionBuilder
impl StructuralPartialEq for ConnectionBuilder
Auto Trait Implementations§
impl Freeze for ConnectionBuilder
impl RefUnwindSafe for ConnectionBuilder
impl Send for ConnectionBuilder
impl Sync for ConnectionBuilder
impl Unpin for ConnectionBuilder
impl UnwindSafe for ConnectionBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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