Struct aws_sdk_redshift::operation::delete_cluster_snapshot::builders::DeleteClusterSnapshotInputBuilder
source · #[non_exhaustive]pub struct DeleteClusterSnapshotInputBuilder { /* private fields */ }
Expand description
A builder for DeleteClusterSnapshotInput
.
Implementations§
source§impl DeleteClusterSnapshotInputBuilder
impl DeleteClusterSnapshotInputBuilder
sourcepub fn snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn snapshot_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the available
, failed
, or cancelled
state.
sourcepub fn set_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_snapshot_identifier(self, input: Option<String>) -> Self
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the available
, failed
, or cancelled
state.
sourcepub fn get_snapshot_identifier(&self) -> &Option<String>
pub fn get_snapshot_identifier(&self) -> &Option<String>
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the available
, failed
, or cancelled
state.
sourcepub fn snapshot_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn snapshot_cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
sourcepub fn set_snapshot_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_snapshot_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
sourcepub fn get_snapshot_cluster_identifier(&self) -> &Option<String>
pub fn get_snapshot_cluster_identifier(&self) -> &Option<String>
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
sourcepub fn build(self) -> Result<DeleteClusterSnapshotInput, BuildError>
pub fn build(self) -> Result<DeleteClusterSnapshotInput, BuildError>
Consumes the builder and constructs a DeleteClusterSnapshotInput
.
source§impl DeleteClusterSnapshotInputBuilder
impl DeleteClusterSnapshotInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteClusterSnapshotOutput, SdkError<DeleteClusterSnapshotError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteClusterSnapshotOutput, SdkError<DeleteClusterSnapshotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteClusterSnapshotInputBuilder
impl Clone for DeleteClusterSnapshotInputBuilder
source§fn clone(&self) -> DeleteClusterSnapshotInputBuilder
fn clone(&self) -> DeleteClusterSnapshotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteClusterSnapshotInputBuilder
impl Default for DeleteClusterSnapshotInputBuilder
source§fn default() -> DeleteClusterSnapshotInputBuilder
fn default() -> DeleteClusterSnapshotInputBuilder
source§impl PartialEq for DeleteClusterSnapshotInputBuilder
impl PartialEq for DeleteClusterSnapshotInputBuilder
source§fn eq(&self, other: &DeleteClusterSnapshotInputBuilder) -> bool
fn eq(&self, other: &DeleteClusterSnapshotInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeleteClusterSnapshotInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteClusterSnapshotInputBuilder
impl RefUnwindSafe for DeleteClusterSnapshotInputBuilder
impl Send for DeleteClusterSnapshotInputBuilder
impl Sync for DeleteClusterSnapshotInputBuilder
impl Unpin for DeleteClusterSnapshotInputBuilder
impl UnwindSafe for DeleteClusterSnapshotInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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