Struct aws_sdk_memorydb::input::delete_cluster_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteClusterInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster to be deleted
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster to be deleted
sourcepub fn final_snapshot_name(self, input: impl Into<String>) -> Self
pub fn final_snapshot_name(self, input: impl Into<String>) -> Self
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.
sourcepub fn set_final_snapshot_name(self, input: Option<String>) -> Self
pub fn set_final_snapshot_name(self, input: Option<String>) -> Self
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.
sourcepub fn build(self) -> Result<DeleteClusterInput, BuildError>
pub fn build(self) -> Result<DeleteClusterInput, BuildError>
Consumes the builder and constructs a DeleteClusterInput
.