Struct aws_sdk_elasticache::operation::copy_serverless_cache_snapshot::CopyServerlessCacheSnapshotInput
source · #[non_exhaustive]pub struct CopyServerlessCacheSnapshotInput {
pub source_serverless_cache_snapshot_name: Option<String>,
pub target_serverless_cache_snapshot_name: Option<String>,
pub kms_key_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.source_serverless_cache_snapshot_name: Option<String>
The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis only.
target_serverless_cache_snapshot_name: Option<String>
The identifier for the snapshot to be created. Available for Redis only.
kms_key_id: Option<String>
The identifier of the KMS key used to encrypt the target snapshot. Available for Redis only.
A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Redis only. Default: NULL
Implementations§
source§impl CopyServerlessCacheSnapshotInput
impl CopyServerlessCacheSnapshotInput
sourcepub fn source_serverless_cache_snapshot_name(&self) -> Option<&str>
pub fn source_serverless_cache_snapshot_name(&self) -> Option<&str>
The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis only.
sourcepub fn target_serverless_cache_snapshot_name(&self) -> Option<&str>
pub fn target_serverless_cache_snapshot_name(&self) -> Option<&str>
The identifier for the snapshot to be created. Available for Redis only.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier of the KMS key used to encrypt the target snapshot. Available for Redis only.
A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Redis only. Default: NULL
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CopyServerlessCacheSnapshotInput
impl CopyServerlessCacheSnapshotInput
sourcepub fn builder() -> CopyServerlessCacheSnapshotInputBuilder
pub fn builder() -> CopyServerlessCacheSnapshotInputBuilder
Creates a new builder-style object to manufacture CopyServerlessCacheSnapshotInput
.
Trait Implementations§
source§impl Clone for CopyServerlessCacheSnapshotInput
impl Clone for CopyServerlessCacheSnapshotInput
source§fn clone(&self) -> CopyServerlessCacheSnapshotInput
fn clone(&self) -> CopyServerlessCacheSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CopyServerlessCacheSnapshotInput
impl PartialEq for CopyServerlessCacheSnapshotInput
source§fn eq(&self, other: &CopyServerlessCacheSnapshotInput) -> bool
fn eq(&self, other: &CopyServerlessCacheSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.