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 moreAuto Trait Implementations§
impl Freeze for CreateServerlessCacheSnapshotFluentBuilder
impl !RefUnwindSafe for CreateServerlessCacheSnapshotFluentBuilder
impl Send for CreateServerlessCacheSnapshotFluentBuilder
impl Sync for CreateServerlessCacheSnapshotFluentBuilder
impl Unpin for CreateServerlessCacheSnapshotFluentBuilder
impl !UnwindSafe for CreateServerlessCacheSnapshotFluentBuilder
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