Struct aws_sdk_elasticache::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotInputBuilder
source · #[non_exhaustive]pub struct CopyServerlessCacheSnapshotInputBuilder { /* private fields */ }
Expand description
A builder for CopyServerlessCacheSnapshotInput
.
Implementations§
source§impl CopyServerlessCacheSnapshotInputBuilder
impl CopyServerlessCacheSnapshotInputBuilder
sourcepub fn source_serverless_cache_snapshot_name(
self,
input: impl Into<String>,
) -> Self
pub fn source_serverless_cache_snapshot_name( self, input: impl Into<String>, ) -> Self
The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis only.
This field is required.sourcepub fn set_source_serverless_cache_snapshot_name(
self,
input: Option<String>,
) -> Self
pub fn set_source_serverless_cache_snapshot_name( self, input: Option<String>, ) -> Self
The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis only.
sourcepub fn get_source_serverless_cache_snapshot_name(&self) -> &Option<String>
pub fn get_source_serverless_cache_snapshot_name(&self) -> &Option<String>
The identifier of the existing serverless cache’s snapshot to be copied. Available for Redis only.
sourcepub fn target_serverless_cache_snapshot_name(
self,
input: impl Into<String>,
) -> Self
pub fn target_serverless_cache_snapshot_name( self, input: impl Into<String>, ) -> Self
The identifier for the snapshot to be created. Available for Redis only.
This field is required.sourcepub fn set_target_serverless_cache_snapshot_name(
self,
input: Option<String>,
) -> Self
pub fn set_target_serverless_cache_snapshot_name( self, input: Option<String>, ) -> Self
The identifier for the snapshot to be created. Available for Redis only.
sourcepub fn get_target_serverless_cache_snapshot_name(&self) -> &Option<String>
pub fn get_target_serverless_cache_snapshot_name(&self) -> &Option<String>
The identifier for the snapshot to be created. Available for Redis only.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The identifier of the KMS key used to encrypt the target snapshot. Available for Redis only.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The identifier of the KMS key used to encrypt the target snapshot. Available for Redis only.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The identifier of the KMS key used to encrypt the target snapshot. Available for Redis only.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
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
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
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
sourcepub fn build(self) -> Result<CopyServerlessCacheSnapshotInput, BuildError>
pub fn build(self) -> Result<CopyServerlessCacheSnapshotInput, BuildError>
Consumes the builder and constructs a CopyServerlessCacheSnapshotInput
.
source§impl CopyServerlessCacheSnapshotInputBuilder
impl CopyServerlessCacheSnapshotInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CopyServerlessCacheSnapshotOutput, SdkError<CopyServerlessCacheSnapshotError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CopyServerlessCacheSnapshotOutput, SdkError<CopyServerlessCacheSnapshotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CopyServerlessCacheSnapshotInputBuilder
impl Clone for CopyServerlessCacheSnapshotInputBuilder
source§fn clone(&self) -> CopyServerlessCacheSnapshotInputBuilder
fn clone(&self) -> CopyServerlessCacheSnapshotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CopyServerlessCacheSnapshotInputBuilder
impl Default for CopyServerlessCacheSnapshotInputBuilder
source§fn default() -> CopyServerlessCacheSnapshotInputBuilder
fn default() -> CopyServerlessCacheSnapshotInputBuilder
source§impl PartialEq for CopyServerlessCacheSnapshotInputBuilder
impl PartialEq for CopyServerlessCacheSnapshotInputBuilder
source§fn eq(&self, other: &CopyServerlessCacheSnapshotInputBuilder) -> bool
fn eq(&self, other: &CopyServerlessCacheSnapshotInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CopyServerlessCacheSnapshotInputBuilder
Auto Trait Implementations§
impl Freeze for CopyServerlessCacheSnapshotInputBuilder
impl RefUnwindSafe for CopyServerlessCacheSnapshotInputBuilder
impl Send for CopyServerlessCacheSnapshotInputBuilder
impl Sync for CopyServerlessCacheSnapshotInputBuilder
impl Unpin for CopyServerlessCacheSnapshotInputBuilder
impl UnwindSafe for CopyServerlessCacheSnapshotInputBuilder
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