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