#[non_exhaustive]pub struct DeleteClusterInputBuilder { /* private fields */ }
Expand description
A builder for DeleteClusterInput
.
Implementations§
source§impl DeleteClusterInputBuilder
impl DeleteClusterInputBuilder
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
This field is required.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 get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
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 get_final_snapshot_name(&self) -> &Option<String>
pub fn get_final_snapshot_name(&self) -> &Option<String>
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
.
source§impl DeleteClusterInputBuilder
impl DeleteClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteClusterOutput, SdkError<DeleteClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteClusterOutput, SdkError<DeleteClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteClusterInputBuilder
impl Clone for DeleteClusterInputBuilder
source§fn clone(&self) -> DeleteClusterInputBuilder
fn clone(&self) -> DeleteClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteClusterInputBuilder
impl Debug for DeleteClusterInputBuilder
source§impl Default for DeleteClusterInputBuilder
impl Default for DeleteClusterInputBuilder
source§fn default() -> DeleteClusterInputBuilder
fn default() -> DeleteClusterInputBuilder
source§impl PartialEq for DeleteClusterInputBuilder
impl PartialEq for DeleteClusterInputBuilder
source§fn eq(&self, other: &DeleteClusterInputBuilder) -> bool
fn eq(&self, other: &DeleteClusterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.