#[non_exhaustive]pub struct DeleteClusterSnapshotMessageBuilder { /* private fields */ }
Expand description
A builder for DeleteClusterSnapshotMessage
.
Implementations§
source§impl DeleteClusterSnapshotMessageBuilder
impl DeleteClusterSnapshotMessageBuilder
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) -> DeleteClusterSnapshotMessage
pub fn build(self) -> DeleteClusterSnapshotMessage
Consumes the builder and constructs a DeleteClusterSnapshotMessage
.
Trait Implementations§
source§impl Clone for DeleteClusterSnapshotMessageBuilder
impl Clone for DeleteClusterSnapshotMessageBuilder
source§fn clone(&self) -> DeleteClusterSnapshotMessageBuilder
fn clone(&self) -> DeleteClusterSnapshotMessageBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteClusterSnapshotMessageBuilder
impl Default for DeleteClusterSnapshotMessageBuilder
source§fn default() -> DeleteClusterSnapshotMessageBuilder
fn default() -> DeleteClusterSnapshotMessageBuilder
source§impl PartialEq for DeleteClusterSnapshotMessageBuilder
impl PartialEq for DeleteClusterSnapshotMessageBuilder
source§fn eq(&self, other: &DeleteClusterSnapshotMessageBuilder) -> bool
fn eq(&self, other: &DeleteClusterSnapshotMessageBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.