Struct aws_sdk_elasticache::operation::describe_serverless_caches::builders::DescribeServerlessCachesInputBuilder
source · #[non_exhaustive]pub struct DescribeServerlessCachesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeServerlessCachesInput
.
Implementations§
source§impl DescribeServerlessCachesInputBuilder
impl DescribeServerlessCachesInputBuilder
sourcepub fn serverless_cache_name(self, input: impl Into<String>) -> Self
pub fn serverless_cache_name(self, input: impl Into<String>) -> Self
The identifier for the serverless cache. If this parameter is specified, only information about that specific serverless cache is returned. Default: NULL
sourcepub fn set_serverless_cache_name(self, input: Option<String>) -> Self
pub fn set_serverless_cache_name(self, input: Option<String>) -> Self
The identifier for the serverless cache. If this parameter is specified, only information about that specific serverless cache is returned. Default: NULL
sourcepub fn get_serverless_cache_name(&self) -> &Option<String>
pub fn get_serverless_cache_name(&self) -> &Option<String>
The identifier for the serverless cache. If this parameter is specified, only information about that specific serverless cache is returned. Default: NULL
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of records in the response. If more records exist than the specified max-records value, the next token is included in the response so that remaining results can be retrieved. The default is 50.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of records in the response. If more records exist than the specified max-records value, the next token is included in the response so that remaining results can be retrieved. The default is 50.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of records in the response. If more records exist than the specified max-records value, the next token is included in the response so that remaining results can be retrieved. The default is 50.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional marker returned from a prior request to support 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 MaxResults.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional marker returned from a prior request to support 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 MaxResults.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional marker returned from a prior request to support 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 MaxResults.
sourcepub fn build(self) -> Result<DescribeServerlessCachesInput, BuildError>
pub fn build(self) -> Result<DescribeServerlessCachesInput, BuildError>
Consumes the builder and constructs a DescribeServerlessCachesInput
.
source§impl DescribeServerlessCachesInputBuilder
impl DescribeServerlessCachesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeServerlessCachesOutput, SdkError<DescribeServerlessCachesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeServerlessCachesOutput, SdkError<DescribeServerlessCachesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeServerlessCachesInputBuilder
impl Clone for DescribeServerlessCachesInputBuilder
source§fn clone(&self) -> DescribeServerlessCachesInputBuilder
fn clone(&self) -> DescribeServerlessCachesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeServerlessCachesInputBuilder
impl Default for DescribeServerlessCachesInputBuilder
source§fn default() -> DescribeServerlessCachesInputBuilder
fn default() -> DescribeServerlessCachesInputBuilder
source§impl PartialEq for DescribeServerlessCachesInputBuilder
impl PartialEq for DescribeServerlessCachesInputBuilder
source§fn eq(&self, other: &DescribeServerlessCachesInputBuilder) -> bool
fn eq(&self, other: &DescribeServerlessCachesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.