Struct aws_sdk_elasticache::operation::copy_serverless_cache_snapshot::builders::CopyServerlessCacheSnapshotFluentBuilder
source · pub struct CopyServerlessCacheSnapshotFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CopyServerlessCacheSnapshot
.
Creates a copy of an existing serverless cache’s snapshot. Available for Redis only.
Implementations§
source§impl CopyServerlessCacheSnapshotFluentBuilder
impl CopyServerlessCacheSnapshotFluentBuilder
sourcepub fn as_input(&self) -> &CopyServerlessCacheSnapshotInputBuilder
pub fn as_input(&self) -> &CopyServerlessCacheSnapshotInputBuilder
Access the CopyServerlessCacheSnapshot as a reference.
sourcepub async fn send(
self
) -> Result<CopyServerlessCacheSnapshotOutput, SdkError<CopyServerlessCacheSnapshotError, HttpResponse>>
pub async fn send( self ) -> Result<CopyServerlessCacheSnapshotOutput, SdkError<CopyServerlessCacheSnapshotError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CopyServerlessCacheSnapshotOutput, CopyServerlessCacheSnapshotError, Self>
pub fn customize( self ) -> CustomizableOperation<CopyServerlessCacheSnapshotOutput, CopyServerlessCacheSnapshotError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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
Trait Implementations§
source§impl Clone for CopyServerlessCacheSnapshotFluentBuilder
impl Clone for CopyServerlessCacheSnapshotFluentBuilder
source§fn clone(&self) -> CopyServerlessCacheSnapshotFluentBuilder
fn clone(&self) -> CopyServerlessCacheSnapshotFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more