Struct aws_sdk_databasemigration::model::connection::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Connection
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> Connection
pub fn build(self) -> Connection
Consumes the builder and constructs a Connection
.