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 ==
.