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 ==
.impl StructuralPartialEq for CreateServerlessCacheSnapshotInput
Auto Trait Implementations§
impl Freeze for CreateServerlessCacheSnapshotInput
impl RefUnwindSafe for CreateServerlessCacheSnapshotInput
impl Send for CreateServerlessCacheSnapshotInput
impl Sync for CreateServerlessCacheSnapshotInput
impl Unpin for CreateServerlessCacheSnapshotInput
impl UnwindSafe for CreateServerlessCacheSnapshotInput
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