Struct aws_sdk_rds::operation::create_db_cluster_endpoint::builders::CreateDbClusterEndpointInputBuilder
source · #[non_exhaustive]pub struct CreateDbClusterEndpointInputBuilder { /* private fields */ }Expand description
A builder for CreateDbClusterEndpointInput.
Implementations§
source§impl CreateDbClusterEndpointInputBuilder
impl CreateDbClusterEndpointInputBuilder
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.
This field is required.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 get_db_cluster_identifier(&self) -> &Option<String>
pub fn get_db_cluster_identifier(&self) -> &Option<String>
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.
This field is required.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 get_db_cluster_endpoint_identifier(&self) -> &Option<String>
pub fn get_db_cluster_endpoint_identifier(&self) -> &Option<String>
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 get_endpoint_type(&self) -> &Option<String>
pub fn get_endpoint_type(&self) -> &Option<String>
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 static_members.
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 get_static_members(&self) -> &Option<Vec<String>>
pub fn get_static_members(&self) -> &Option<Vec<String>>
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 excluded_members.
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.
sourcepub fn get_excluded_members(&self) -> &Option<Vec<String>>
pub fn get_excluded_members(&self) -> &Option<Vec<String>>
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.
The tags to be assigned to the Amazon RDS resource.
sourcepub fn build(self) -> Result<CreateDbClusterEndpointInput, BuildError>
pub fn build(self) -> Result<CreateDbClusterEndpointInput, BuildError>
Consumes the builder and constructs a CreateDbClusterEndpointInput.
source§impl CreateDbClusterEndpointInputBuilder
impl CreateDbClusterEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDbClusterEndpointOutput, SdkError<CreateDBClusterEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDbClusterEndpointOutput, SdkError<CreateDBClusterEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDbClusterEndpointInputBuilder
impl Clone for CreateDbClusterEndpointInputBuilder
source§fn clone(&self) -> CreateDbClusterEndpointInputBuilder
fn clone(&self) -> CreateDbClusterEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDbClusterEndpointInputBuilder
impl Default for CreateDbClusterEndpointInputBuilder
source§fn default() -> CreateDbClusterEndpointInputBuilder
fn default() -> CreateDbClusterEndpointInputBuilder
source§impl PartialEq for CreateDbClusterEndpointInputBuilder
impl PartialEq for CreateDbClusterEndpointInputBuilder
source§fn eq(&self, other: &CreateDbClusterEndpointInputBuilder) -> bool
fn eq(&self, other: &CreateDbClusterEndpointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.