Struct aws_sdk_rds::operation::describe_db_cluster_endpoints::builders::DescribeDbClusterEndpointsInputBuilder
source · #[non_exhaustive]pub struct DescribeDbClusterEndpointsInputBuilder { /* private fields */ }Expand description
A builder for DescribeDbClusterEndpointsInput.
Implementations§
source§impl DescribeDbClusterEndpointsInputBuilder
impl DescribeDbClusterEndpointsInputBuilder
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_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 describe. 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 describe. 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 describe. This parameter is stored as a lowercase string.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
A set of name-value pairs that define which endpoints to include in the output. The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status filter can be one or more of: available, creating, deleting, inactive, modifying.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
A set of name-value pairs that define which endpoints to include in the output. The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status filter can be one or more of: available, creating, deleting, inactive, modifying.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
A set of name-value pairs that define which endpoints to include in the output. The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status filter can be one or more of: available, creating, deleting, inactive, modifying.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
sourcepub fn build(self) -> Result<DescribeDbClusterEndpointsInput, BuildError>
pub fn build(self) -> Result<DescribeDbClusterEndpointsInput, BuildError>
Consumes the builder and constructs a DescribeDbClusterEndpointsInput.
source§impl DescribeDbClusterEndpointsInputBuilder
impl DescribeDbClusterEndpointsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeDbClusterEndpointsOutput, SdkError<DescribeDBClusterEndpointsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeDbClusterEndpointsOutput, SdkError<DescribeDBClusterEndpointsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeDbClusterEndpointsInputBuilder
impl Clone for DescribeDbClusterEndpointsInputBuilder
source§fn clone(&self) -> DescribeDbClusterEndpointsInputBuilder
fn clone(&self) -> DescribeDbClusterEndpointsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeDbClusterEndpointsInputBuilder
impl Default for DescribeDbClusterEndpointsInputBuilder
source§fn default() -> DescribeDbClusterEndpointsInputBuilder
fn default() -> DescribeDbClusterEndpointsInputBuilder
source§impl PartialEq for DescribeDbClusterEndpointsInputBuilder
impl PartialEq for DescribeDbClusterEndpointsInputBuilder
source§fn eq(&self, other: &DescribeDbClusterEndpointsInputBuilder) -> bool
fn eq(&self, other: &DescribeDbClusterEndpointsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeDbClusterEndpointsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDbClusterEndpointsInputBuilder
impl RefUnwindSafe for DescribeDbClusterEndpointsInputBuilder
impl Send for DescribeDbClusterEndpointsInputBuilder
impl Sync for DescribeDbClusterEndpointsInputBuilder
impl Unpin for DescribeDbClusterEndpointsInputBuilder
impl UnwindSafe for DescribeDbClusterEndpointsInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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