Struct aws_sdk_rds::operation::modify_db_cluster_endpoint::builders::ModifyDbClusterEndpointInputBuilder
source · #[non_exhaustive]pub struct ModifyDbClusterEndpointInputBuilder { /* private fields */ }Expand description
A builder for ModifyDbClusterEndpointInput.
Implementations§
source§impl ModifyDbClusterEndpointInputBuilder
impl ModifyDbClusterEndpointInputBuilder
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 of the endpoint to modify. 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 of the endpoint to modify. 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 of the endpoint to modify. 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. Only relevant 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. Only relevant 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. Only relevant if the list of static members is empty.
sourcepub fn build(self) -> Result<ModifyDbClusterEndpointInput, BuildError>
pub fn build(self) -> Result<ModifyDbClusterEndpointInput, BuildError>
Consumes the builder and constructs a ModifyDbClusterEndpointInput.
source§impl ModifyDbClusterEndpointInputBuilder
impl ModifyDbClusterEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyDbClusterEndpointOutput, SdkError<ModifyDBClusterEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyDbClusterEndpointOutput, SdkError<ModifyDBClusterEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDbClusterEndpointInputBuilder
impl Clone for ModifyDbClusterEndpointInputBuilder
source§fn clone(&self) -> ModifyDbClusterEndpointInputBuilder
fn clone(&self) -> ModifyDbClusterEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyDbClusterEndpointInputBuilder
impl Default for ModifyDbClusterEndpointInputBuilder
source§fn default() -> ModifyDbClusterEndpointInputBuilder
fn default() -> ModifyDbClusterEndpointInputBuilder
source§impl PartialEq for ModifyDbClusterEndpointInputBuilder
impl PartialEq for ModifyDbClusterEndpointInputBuilder
source§fn eq(&self, other: &ModifyDbClusterEndpointInputBuilder) -> bool
fn eq(&self, other: &ModifyDbClusterEndpointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.