Struct aws_sdk_elasticache::operation::describe_serverless_cache_snapshots::builders::DescribeServerlessCacheSnapshotsInputBuilder
source · #[non_exhaustive]pub struct DescribeServerlessCacheSnapshotsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeServerlessCacheSnapshotsInput
.
Implementations§
source§impl DescribeServerlessCacheSnapshotsInputBuilder
impl DescribeServerlessCacheSnapshotsInputBuilder
sourcepub fn serverless_cache_name(self, input: impl Into<String>) -> Self
pub fn serverless_cache_name(self, input: impl Into<String>) -> Self
The identifier of serverless cache. If this parameter is specified, only snapshots associated with that specific serverless cache are described. Available for Redis only.
sourcepub fn set_serverless_cache_name(self, input: Option<String>) -> Self
pub fn set_serverless_cache_name(self, input: Option<String>) -> Self
The identifier of serverless cache. If this parameter is specified, only snapshots associated with that specific serverless cache are described. Available for Redis only.
sourcepub fn get_serverless_cache_name(&self) -> &Option<String>
pub fn get_serverless_cache_name(&self) -> &Option<String>
The identifier of serverless cache. If this parameter is specified, only snapshots associated with that specific serverless cache are described. Available for Redis only.
sourcepub fn serverless_cache_snapshot_name(self, input: impl Into<String>) -> Self
pub fn serverless_cache_snapshot_name(self, input: impl Into<String>) -> Self
The identifier of the serverless cache’s snapshot. If this parameter is specified, only this snapshot is described. Available for Redis only.
sourcepub fn set_serverless_cache_snapshot_name(self, input: Option<String>) -> Self
pub fn set_serverless_cache_snapshot_name(self, input: Option<String>) -> Self
The identifier of the serverless cache’s snapshot. If this parameter is specified, only this snapshot is described. Available for Redis only.
sourcepub fn get_serverless_cache_snapshot_name(&self) -> &Option<String>
pub fn get_serverless_cache_snapshot_name(&self) -> &Option<String>
The identifier of the serverless cache’s snapshot. If this parameter is specified, only this snapshot is described. Available for Redis only.
sourcepub fn snapshot_type(self, input: impl Into<String>) -> Self
pub fn snapshot_type(self, input: impl Into<String>) -> Self
The type of snapshot that is being described. Available for Redis only.
sourcepub fn set_snapshot_type(self, input: Option<String>) -> Self
pub fn set_snapshot_type(self, input: Option<String>) -> Self
The type of snapshot that is being described. Available for Redis only.
sourcepub fn get_snapshot_type(&self) -> &Option<String>
pub fn get_snapshot_type(&self) -> &Option<String>
The type of snapshot that is being described. Available for Redis only.
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 max-results. Available for Redis only.
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 max-results. Available for Redis only.
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 max-results. Available for Redis only.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified max-results value, a market is included in the response so that remaining results can be retrieved. Available for Redis only.The default is 50. The Validation Constraints are a maximum of 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 to include in the response. If more records exist than the specified max-results value, a market is included in the response so that remaining results can be retrieved. Available for Redis only.The default is 50. The Validation Constraints are a maximum of 50.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified max-results value, a market is included in the response so that remaining results can be retrieved. Available for Redis only.The default is 50. The Validation Constraints are a maximum of 50.
sourcepub fn build(self) -> Result<DescribeServerlessCacheSnapshotsInput, BuildError>
pub fn build(self) -> Result<DescribeServerlessCacheSnapshotsInput, BuildError>
Consumes the builder and constructs a DescribeServerlessCacheSnapshotsInput
.
source§impl DescribeServerlessCacheSnapshotsInputBuilder
impl DescribeServerlessCacheSnapshotsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeServerlessCacheSnapshotsOutput, SdkError<DescribeServerlessCacheSnapshotsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeServerlessCacheSnapshotsOutput, SdkError<DescribeServerlessCacheSnapshotsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeServerlessCacheSnapshotsInputBuilder
impl Clone for DescribeServerlessCacheSnapshotsInputBuilder
source§fn clone(&self) -> DescribeServerlessCacheSnapshotsInputBuilder
fn clone(&self) -> DescribeServerlessCacheSnapshotsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeServerlessCacheSnapshotsInputBuilder
impl Default for DescribeServerlessCacheSnapshotsInputBuilder
source§fn default() -> DescribeServerlessCacheSnapshotsInputBuilder
fn default() -> DescribeServerlessCacheSnapshotsInputBuilder
source§impl PartialEq for DescribeServerlessCacheSnapshotsInputBuilder
impl PartialEq for DescribeServerlessCacheSnapshotsInputBuilder
source§fn eq(&self, other: &DescribeServerlessCacheSnapshotsInputBuilder) -> bool
fn eq(&self, other: &DescribeServerlessCacheSnapshotsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.