#[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<ConnectionBuilder> for ConnectionBuilder
impl PartialEq<ConnectionBuilder> for ConnectionBuilder
source§fn eq(&self, other: &ConnectionBuilder) -> bool
fn eq(&self, other: &ConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.