Struct aws_sdk_elasticache::operation::create_serverless_cache_snapshot::builders::CreateServerlessCacheSnapshotInputBuilder    
source · #[non_exhaustive]pub struct CreateServerlessCacheSnapshotInputBuilder { /* private fields */ }Expand description
A builder for CreateServerlessCacheSnapshotInput.
Implementations§
source§impl CreateServerlessCacheSnapshotInputBuilder
 
impl CreateServerlessCacheSnapshotInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateServerlessCacheSnapshotInput, BuildError>
 
pub fn build(self) -> Result<CreateServerlessCacheSnapshotInput, BuildError>
Consumes the builder and constructs a CreateServerlessCacheSnapshotInput.
source§impl CreateServerlessCacheSnapshotInputBuilder
 
impl CreateServerlessCacheSnapshotInputBuilder
sourcepub async fn send_with(
    self,
    client: &Client
) -> Result<CreateServerlessCacheSnapshotOutput, SdkError<CreateServerlessCacheSnapshotError, HttpResponse>>
 
pub async fn send_with( self, client: &Client ) -> Result<CreateServerlessCacheSnapshotOutput, SdkError<CreateServerlessCacheSnapshotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateServerlessCacheSnapshotInputBuilder
 
impl Clone for CreateServerlessCacheSnapshotInputBuilder
source§fn clone(&self) -> CreateServerlessCacheSnapshotInputBuilder
 
fn clone(&self) -> CreateServerlessCacheSnapshotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateServerlessCacheSnapshotInputBuilder
 
impl Default for CreateServerlessCacheSnapshotInputBuilder
source§fn default() -> CreateServerlessCacheSnapshotInputBuilder
 
fn default() -> CreateServerlessCacheSnapshotInputBuilder
source§impl PartialEq for CreateServerlessCacheSnapshotInputBuilder
 
impl PartialEq for CreateServerlessCacheSnapshotInputBuilder
source§fn eq(&self, other: &CreateServerlessCacheSnapshotInputBuilder) -> bool
 
fn eq(&self, other: &CreateServerlessCacheSnapshotInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateServerlessCacheSnapshotInputBuilder
Auto Trait Implementations§
impl Freeze for CreateServerlessCacheSnapshotInputBuilder
impl RefUnwindSafe for CreateServerlessCacheSnapshotInputBuilder
impl Send for CreateServerlessCacheSnapshotInputBuilder
impl Sync for CreateServerlessCacheSnapshotInputBuilder
impl Unpin for CreateServerlessCacheSnapshotInputBuilder
impl UnwindSafe for CreateServerlessCacheSnapshotInputBuilder
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> 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