Struct aws_sdk_rds::client::fluent_builders::CreateDBClusterEndpoint
source · [−]pub struct CreateDBClusterEndpoint { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDBClusterEndpoint.
Creates a new custom endpoint and associates it with an Amazon Aurora DB cluster.
This action applies only to Aurora DB clusters.
Implementations
sourceimpl CreateDBClusterEndpoint
impl CreateDBClusterEndpoint
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateDBClusterEndpoint, AwsResponseRetryClassifier>, SdkError<CreateDBClusterEndpointError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateDBClusterEndpoint, AwsResponseRetryClassifier>, SdkError<CreateDBClusterEndpointError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateDbClusterEndpointOutput, SdkError<CreateDBClusterEndpointError>>
pub async fn send(
self
) -> Result<CreateDbClusterEndpointOutput, SdkError<CreateDBClusterEndpointError>>
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 db_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
sourcepub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
sourcepub fn db_cluster_endpoint_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_endpoint_identifier(self, input: impl Into<String>) -> Self
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
sourcepub fn set_db_cluster_endpoint_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_endpoint_identifier(self, input: Option<String>) -> Self
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
sourcepub fn endpoint_type(self, input: impl Into<String>) -> Self
pub fn endpoint_type(self, input: impl Into<String>) -> Self
The type of the endpoint, one of: READER, WRITER, ANY.
sourcepub fn set_endpoint_type(self, input: Option<String>) -> Self
pub fn set_endpoint_type(self, input: Option<String>) -> Self
The type of the endpoint, one of: READER, WRITER, ANY.
sourcepub fn static_members(self, input: impl Into<String>) -> Self
pub fn static_members(self, input: impl Into<String>) -> Self
Appends an item to StaticMembers.
To override the contents of this collection use set_static_members.
List of DB instance identifiers that are part of the custom endpoint group.
sourcepub fn set_static_members(self, input: Option<Vec<String>>) -> Self
pub fn set_static_members(self, input: Option<Vec<String>>) -> Self
List of DB instance identifiers that are part of the custom endpoint group.
sourcepub fn excluded_members(self, input: impl Into<String>) -> Self
pub fn excluded_members(self, input: impl Into<String>) -> Self
Appends an item to ExcludedMembers.
To override the contents of this collection use set_excluded_members.
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. This parameter is relevant only if the list of static members is empty.
sourcepub fn set_excluded_members(self, input: Option<Vec<String>>) -> Self
pub fn set_excluded_members(self, input: Option<Vec<String>>) -> Self
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. This parameter is relevant only if the list of static members is empty.
Appends an item to Tags.
To override the contents of this collection use set_tags.
The tags to be assigned to the Amazon RDS resource.
The tags to be assigned to the Amazon RDS resource.
Trait Implementations
sourceimpl Clone for CreateDBClusterEndpoint
impl Clone for CreateDBClusterEndpoint
sourcefn clone(&self) -> CreateDBClusterEndpoint
fn clone(&self) -> CreateDBClusterEndpoint
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more