Struct aws_sdk_rds::operation::create_db_cluster_endpoint::builders::CreateDbClusterEndpointOutputBuilder
source · #[non_exhaustive]pub struct CreateDbClusterEndpointOutputBuilder { /* private fields */ }Expand description
A builder for CreateDbClusterEndpointOutput.
Implementations§
source§impl CreateDbClusterEndpointOutputBuilder
impl CreateDbClusterEndpointOutputBuilder
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 associated with the 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 associated with the 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 associated with the endpoint. This parameter is stored as a lowercase string.
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 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_resource_identifier(
self,
input: impl Into<String>,
) -> Self
pub fn db_cluster_endpoint_resource_identifier( self, input: impl Into<String>, ) -> Self
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
sourcepub fn set_db_cluster_endpoint_resource_identifier(
self,
input: Option<String>,
) -> Self
pub fn set_db_cluster_endpoint_resource_identifier( self, input: Option<String>, ) -> Self
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
sourcepub fn get_db_cluster_endpoint_resource_identifier(&self) -> &Option<String>
pub fn get_db_cluster_endpoint_resource_identifier(&self) -> &Option<String>
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The DNS address of the endpoint.
sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The DNS address of the endpoint.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that can't be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that can't be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that can't be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.
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, CUSTOM.
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, CUSTOM.
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, CUSTOM.
sourcepub fn custom_endpoint_type(self, input: impl Into<String>) -> Self
pub fn custom_endpoint_type(self, input: impl Into<String>) -> Self
The type associated with a custom endpoint. One of: READER, WRITER, ANY.
sourcepub fn set_custom_endpoint_type(self, input: Option<String>) -> Self
pub fn set_custom_endpoint_type(self, input: Option<String>) -> Self
The type associated with a custom endpoint. One of: READER, WRITER, ANY.
sourcepub fn get_custom_endpoint_type(&self) -> &Option<String>
pub fn get_custom_endpoint_type(&self) -> &Option<String>
The type associated with a custom 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 db_cluster_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn db_cluster_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the endpoint.
sourcepub fn set_db_cluster_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_db_cluster_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the endpoint.
sourcepub fn get_db_cluster_endpoint_arn(&self) -> &Option<String>
pub fn get_db_cluster_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the endpoint.
sourcepub fn build(self) -> CreateDbClusterEndpointOutput
pub fn build(self) -> CreateDbClusterEndpointOutput
Consumes the builder and constructs a CreateDbClusterEndpointOutput.
Trait Implementations§
source§impl Clone for CreateDbClusterEndpointOutputBuilder
impl Clone for CreateDbClusterEndpointOutputBuilder
source§fn clone(&self) -> CreateDbClusterEndpointOutputBuilder
fn clone(&self) -> CreateDbClusterEndpointOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDbClusterEndpointOutputBuilder
impl Default for CreateDbClusterEndpointOutputBuilder
source§fn default() -> CreateDbClusterEndpointOutputBuilder
fn default() -> CreateDbClusterEndpointOutputBuilder
source§impl PartialEq for CreateDbClusterEndpointOutputBuilder
impl PartialEq for CreateDbClusterEndpointOutputBuilder
source§fn eq(&self, other: &CreateDbClusterEndpointOutputBuilder) -> bool
fn eq(&self, other: &CreateDbClusterEndpointOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDbClusterEndpointOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateDbClusterEndpointOutputBuilder
impl RefUnwindSafe for CreateDbClusterEndpointOutputBuilder
impl Send for CreateDbClusterEndpointOutputBuilder
impl Sync for CreateDbClusterEndpointOutputBuilder
impl Unpin for CreateDbClusterEndpointOutputBuilder
impl UnwindSafe for CreateDbClusterEndpointOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more