Struct aws_sdk_elasticache::operation::create_serverless_cache_snapshot::builders::CreateServerlessCacheSnapshotFluentBuilder
source · pub struct CreateServerlessCacheSnapshotFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateServerlessCacheSnapshot
.
This API creates a copy of an entire ServerlessCache at a specific moment in time. Available for Redis only.
Implementations§
source§impl CreateServerlessCacheSnapshotFluentBuilder
impl CreateServerlessCacheSnapshotFluentBuilder
sourcepub fn as_input(&self) -> &CreateServerlessCacheSnapshotInputBuilder
pub fn as_input(&self) -> &CreateServerlessCacheSnapshotInputBuilder
Access the CreateServerlessCacheSnapshot as a reference.
sourcepub async fn send(
self
) -> Result<CreateServerlessCacheSnapshotOutput, SdkError<CreateServerlessCacheSnapshotError, HttpResponse>>
pub async fn send( self ) -> Result<CreateServerlessCacheSnapshotOutput, SdkError<CreateServerlessCacheSnapshotError, 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<CreateServerlessCacheSnapshotOutput, CreateServerlessCacheSnapshotError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateServerlessCacheSnapshotOutput, CreateServerlessCacheSnapshotError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn serverless_cache_snapshot_name(self, input: impl Into<String>) -> Self
pub fn serverless_cache_snapshot_name(self, input: impl Into<String>) -> Self
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 set_serverless_cache_snapshot_name(self, input: Option<String>) -> Self
pub fn set_serverless_cache_snapshot_name(self, input: Option<String>) -> Self
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 get_serverless_cache_snapshot_name(&self) -> &Option<String>
pub fn get_serverless_cache_snapshot_name(&self) -> &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.
sourcepub fn serverless_cache_name(self, input: impl Into<String>) -> Self
pub fn serverless_cache_name(self, input: impl Into<String>) -> Self
The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis only.
sourcepub fn set_serverless_cache_name(self, input: Option<String>) -> Self
pub fn set_serverless_cache_name(self, input: Option<String>) -> Self
The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis only.
sourcepub fn get_serverless_cache_name(&self) -> &Option<String>
pub fn get_serverless_cache_name(&self) -> &Option<String>
The name of an existing serverless cache. The snapshot is created from this cache. 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 ID of the KMS key used to encrypt the snapshot. Available for Redis only. Default: NULL
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ID of the KMS key used to encrypt the snapshot. Available for Redis only. Default: NULL
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The ID of the KMS key used to encrypt the snapshot. Available for Redis only. Default: NULL
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis only.
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis only.
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis only.
Trait Implementations§
source§impl Clone for CreateServerlessCacheSnapshotFluentBuilder
impl Clone for CreateServerlessCacheSnapshotFluentBuilder
source§fn clone(&self) -> CreateServerlessCacheSnapshotFluentBuilder
fn clone(&self) -> CreateServerlessCacheSnapshotFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more