Struct aws_sdk_elasticache::operation::describe_cache_clusters::builders::DescribeCacheClustersInputBuilder
source · #[non_exhaustive]pub struct DescribeCacheClustersInputBuilder { /* private fields */ }
Expand description
A builder for DescribeCacheClustersInput
.
Implementations§
source§impl DescribeCacheClustersInputBuilder
impl DescribeCacheClustersInputBuilder
sourcepub fn cache_cluster_id(self, input: impl Into<String>) -> Self
pub fn cache_cluster_id(self, input: impl Into<String>) -> Self
The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.
sourcepub fn set_cache_cluster_id(self, input: Option<String>) -> Self
pub fn set_cache_cluster_id(self, input: Option<String>) -> Self
The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.
sourcepub fn get_cache_cluster_id(&self) -> &Option<String>
pub fn get_cache_cluster_id(&self) -> &Option<String>
The user-supplied cluster identifier. If this parameter is specified, only information about that specific cluster is returned. This parameter isn't case sensitive.
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 marker is included in the response so that the remaining results can be retrieved.
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 marker is included in the response so that the remaining results can be retrieved.
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 marker is included in the response so that the remaining results can be retrieved.
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 marker returned from a prior request. Use this marker for pagination of results from this operation. 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 marker returned from a prior request. Use this marker for pagination of results from this operation. 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 marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
sourcepub fn show_cache_node_info(self, input: bool) -> Self
pub fn show_cache_node_info(self, input: bool) -> Self
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
sourcepub fn set_show_cache_node_info(self, input: Option<bool>) -> Self
pub fn set_show_cache_node_info(self, input: Option<bool>) -> Self
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
sourcepub fn get_show_cache_node_info(&self) -> &Option<bool>
pub fn get_show_cache_node_info(&self) -> &Option<bool>
An optional flag that can be included in the DescribeCacheCluster
request to retrieve information about the individual cache nodes.
sourcepub fn show_cache_clusters_not_in_replication_groups(self, input: bool) -> Self
pub fn show_cache_clusters_not_in_replication_groups(self, input: bool) -> Self
An optional flag that can be included in the DescribeCacheCluster
request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.
sourcepub fn set_show_cache_clusters_not_in_replication_groups(
self,
input: Option<bool>,
) -> Self
pub fn set_show_cache_clusters_not_in_replication_groups( self, input: Option<bool>, ) -> Self
An optional flag that can be included in the DescribeCacheCluster
request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.
sourcepub fn get_show_cache_clusters_not_in_replication_groups(&self) -> &Option<bool>
pub fn get_show_cache_clusters_not_in_replication_groups(&self) -> &Option<bool>
An optional flag that can be included in the DescribeCacheCluster
request to show only nodes (API/CLI: clusters) that are not members of a replication group. In practice, this mean Memcached and single node Redis clusters.
sourcepub fn build(self) -> Result<DescribeCacheClustersInput, BuildError>
pub fn build(self) -> Result<DescribeCacheClustersInput, BuildError>
Consumes the builder and constructs a DescribeCacheClustersInput
.
source§impl DescribeCacheClustersInputBuilder
impl DescribeCacheClustersInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeCacheClustersOutput, SdkError<DescribeCacheClustersError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeCacheClustersOutput, SdkError<DescribeCacheClustersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeCacheClustersInputBuilder
impl Clone for DescribeCacheClustersInputBuilder
source§fn clone(&self) -> DescribeCacheClustersInputBuilder
fn clone(&self) -> DescribeCacheClustersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeCacheClustersInputBuilder
impl Default for DescribeCacheClustersInputBuilder
source§fn default() -> DescribeCacheClustersInputBuilder
fn default() -> DescribeCacheClustersInputBuilder
source§impl PartialEq for DescribeCacheClustersInputBuilder
impl PartialEq for DescribeCacheClustersInputBuilder
source§fn eq(&self, other: &DescribeCacheClustersInputBuilder) -> bool
fn eq(&self, other: &DescribeCacheClustersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeCacheClustersInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeCacheClustersInputBuilder
impl RefUnwindSafe for DescribeCacheClustersInputBuilder
impl Send for DescribeCacheClustersInputBuilder
impl Sync for DescribeCacheClustersInputBuilder
impl Unpin for DescribeCacheClustersInputBuilder
impl UnwindSafe for DescribeCacheClustersInputBuilder
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