Struct aws_sdk_redshift::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder
source · pub struct DisableSnapshotCopyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DisableSnapshotCopy
.
Disables the automatic copying of snapshots from one region to another region for a specified cluster.
If your cluster and its snapshots are encrypted using an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant
to delete the grant that grants Amazon Redshift permission to the key in the destination region.
Implementations§
source§impl DisableSnapshotCopyFluentBuilder
impl DisableSnapshotCopyFluentBuilder
sourcepub fn as_input(&self) -> &DisableSnapshotCopyInputBuilder
pub fn as_input(&self) -> &DisableSnapshotCopyInputBuilder
Access the DisableSnapshotCopy as a reference.
sourcepub async fn send(
self
) -> Result<DisableSnapshotCopyOutput, SdkError<DisableSnapshotCopyError, HttpResponse>>
pub async fn send( self ) -> Result<DisableSnapshotCopyOutput, SdkError<DisableSnapshotCopyError, 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<DisableSnapshotCopyOutput, DisableSnapshotCopyError, Self>
pub fn customize( self ) -> CustomizableOperation<DisableSnapshotCopyOutput, DisableSnapshotCopyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.
Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.
Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.
Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
Trait Implementations§
source§impl Clone for DisableSnapshotCopyFluentBuilder
impl Clone for DisableSnapshotCopyFluentBuilder
source§fn clone(&self) -> DisableSnapshotCopyFluentBuilder
fn clone(&self) -> DisableSnapshotCopyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more