#[non_exhaustive]pub struct DescribeSnapshotsInput {
pub replication_group_id: Option<String>,
pub cache_cluster_id: Option<String>,
pub snapshot_name: Option<String>,
pub snapshot_source: Option<String>,
pub marker: Option<String>,
pub max_records: Option<i32>,
pub show_node_group_config: Option<bool>,
}
Expand description
Represents the input of a DescribeSnapshotsMessage
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_group_id: Option<String>
A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.
cache_cluster_id: Option<String>
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
snapshot_name: Option<String>
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
snapshot_source: Option<String>
If set to system
, the output shows snapshots that were automatically created by ElastiCache. If set to user
the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.
marker: 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
.
max_records: 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: 50
Constraints: minimum 20; maximum 50.
show_node_group_config: Option<bool>
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
Implementations§
source§impl DescribeSnapshotsInput
impl DescribeSnapshotsInput
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.
sourcepub fn cache_cluster_id(&self) -> Option<&str>
pub fn cache_cluster_id(&self) -> Option<&str>
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
sourcepub fn snapshot_name(&self) -> Option<&str>
pub fn snapshot_name(&self) -> Option<&str>
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
sourcepub fn snapshot_source(&self) -> Option<&str>
pub fn snapshot_source(&self) -> Option<&str>
If set to system
, the output shows snapshots that were automatically created by ElastiCache. If set to user
the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
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 max_records(&self) -> Option<i32>
pub fn 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: 50
Constraints: minimum 20; maximum 50.
sourcepub fn show_node_group_config(&self) -> Option<bool>
pub fn show_node_group_config(&self) -> Option<bool>
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
source§impl DescribeSnapshotsInput
impl DescribeSnapshotsInput
sourcepub fn builder() -> DescribeSnapshotsInputBuilder
pub fn builder() -> DescribeSnapshotsInputBuilder
Creates a new builder-style object to manufacture DescribeSnapshotsInput
.
Trait Implementations§
source§impl Clone for DescribeSnapshotsInput
impl Clone for DescribeSnapshotsInput
source§fn clone(&self) -> DescribeSnapshotsInput
fn clone(&self) -> DescribeSnapshotsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeSnapshotsInput
impl Debug for DescribeSnapshotsInput
source§impl PartialEq for DescribeSnapshotsInput
impl PartialEq for DescribeSnapshotsInput
source§fn eq(&self, other: &DescribeSnapshotsInput) -> bool
fn eq(&self, other: &DescribeSnapshotsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeSnapshotsInput
Auto Trait Implementations§
impl Freeze for DescribeSnapshotsInput
impl RefUnwindSafe for DescribeSnapshotsInput
impl Send for DescribeSnapshotsInput
impl Sync for DescribeSnapshotsInput
impl Unpin for DescribeSnapshotsInput
impl UnwindSafe for DescribeSnapshotsInput
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