Struct aws_sdk_elasticache::operation::create_serverless_cache_snapshot::CreateServerlessCacheSnapshotInput
source · #[non_exhaustive]pub struct CreateServerlessCacheSnapshotInput {
pub serverless_cache_snapshot_name: Option<String>,
pub serverless_cache_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.serverless_cache_snapshot_name: Option<String>
The name for the snapshot being created. Must be unique for the customer account. Available for Redis only. Must be between 1 and 255 characters.
serverless_cache_name: Option<String>
The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis only.
kms_key_id: Option<String>
The ID of the KMS key used to encrypt the snapshot. Available for Redis only. Default: NULL
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis only.
Implementations§
source§impl CreateServerlessCacheSnapshotInput
impl CreateServerlessCacheSnapshotInput
sourcepub fn serverless_cache_snapshot_name(&self) -> Option<&str>
pub fn serverless_cache_snapshot_name(&self) -> Option<&str>
The name for the snapshot being created. Must be unique for the customer account. Available for Redis only. Must be between 1 and 255 characters.
sourcepub fn serverless_cache_name(&self) -> Option<&str>
pub fn serverless_cache_name(&self) -> Option<&str>
The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis only.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the KMS key used to encrypt the snapshot. Available for Redis only. Default: NULL
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis only.
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 CreateServerlessCacheSnapshotInput
impl CreateServerlessCacheSnapshotInput
sourcepub fn builder() -> CreateServerlessCacheSnapshotInputBuilder
pub fn builder() -> CreateServerlessCacheSnapshotInputBuilder
Creates a new builder-style object to manufacture CreateServerlessCacheSnapshotInput
.
Trait Implementations§
source§impl Clone for CreateServerlessCacheSnapshotInput
impl Clone for CreateServerlessCacheSnapshotInput
source§fn clone(&self) -> CreateServerlessCacheSnapshotInput
fn clone(&self) -> CreateServerlessCacheSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateServerlessCacheSnapshotInput
impl PartialEq for CreateServerlessCacheSnapshotInput
source§fn eq(&self, other: &CreateServerlessCacheSnapshotInput) -> bool
fn eq(&self, other: &CreateServerlessCacheSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.