Struct aws_sdk_elasticache::operation::export_serverless_cache_snapshot::builders::ExportServerlessCacheSnapshotFluentBuilder
source · pub struct ExportServerlessCacheSnapshotFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ExportServerlessCacheSnapshot
.
Provides the functionality to export the serverless cache snapshot data to Amazon S3. Available for Redis only.
Implementations§
source§impl ExportServerlessCacheSnapshotFluentBuilder
impl ExportServerlessCacheSnapshotFluentBuilder
sourcepub fn as_input(&self) -> &ExportServerlessCacheSnapshotInputBuilder
pub fn as_input(&self) -> &ExportServerlessCacheSnapshotInputBuilder
Access the ExportServerlessCacheSnapshot as a reference.
sourcepub async fn send(
self
) -> Result<ExportServerlessCacheSnapshotOutput, SdkError<ExportServerlessCacheSnapshotError, HttpResponse>>
pub async fn send( self ) -> Result<ExportServerlessCacheSnapshotOutput, SdkError<ExportServerlessCacheSnapshotError, 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<ExportServerlessCacheSnapshotOutput, ExportServerlessCacheSnapshotError, Self>
pub fn customize( self ) -> CustomizableOperation<ExportServerlessCacheSnapshotOutput, ExportServerlessCacheSnapshotError, 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 identifier of the serverless cache snapshot to be exported to S3. Available for Redis only.
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 identifier of the serverless cache snapshot to be exported to S3. Available for Redis only.
sourcepub fn get_serverless_cache_snapshot_name(&self) -> &Option<String>
pub fn get_serverless_cache_snapshot_name(&self) -> &Option<String>
The identifier of the serverless cache snapshot to be exported to S3. Available for Redis only.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
Name of the Amazon S3 bucket to export the snapshot to. The Amazon S3 bucket must also be in same region as the snapshot. Available for Redis only.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
Name of the Amazon S3 bucket to export the snapshot to. The Amazon S3 bucket must also be in same region as the snapshot. Available for Redis only.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
Name of the Amazon S3 bucket to export the snapshot to. The Amazon S3 bucket must also be in same region as the snapshot. Available for Redis only.
Trait Implementations§
source§impl Clone for ExportServerlessCacheSnapshotFluentBuilder
impl Clone for ExportServerlessCacheSnapshotFluentBuilder
source§fn clone(&self) -> ExportServerlessCacheSnapshotFluentBuilder
fn clone(&self) -> ExportServerlessCacheSnapshotFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more