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