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 ==
.