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 ==.impl StructuralPartialEq for DisableSnapshotCopyInputBuilder
Auto Trait Implementations§
impl Freeze for DisableSnapshotCopyInputBuilder
impl RefUnwindSafe for DisableSnapshotCopyInputBuilder
impl Send for DisableSnapshotCopyInputBuilder
impl Sync for DisableSnapshotCopyInputBuilder
impl Unpin for DisableSnapshotCopyInputBuilder
impl UnwindSafe for DisableSnapshotCopyInputBuilder
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