Struct aws_sdk_rds::input::modify_db_cluster_endpoint_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ModifyDbClusterEndpointInput.
Implementations
sourceimpl Builder
impl Builder
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.
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 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 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 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 build(self) -> Result<ModifyDbClusterEndpointInput, BuildError>
pub fn build(self) -> Result<ModifyDbClusterEndpointInput, BuildError>
Consumes the builder and constructs a ModifyDbClusterEndpointInput.