Struct aws_sdk_elasticache::operation::delete_cache_cluster::builders::DeleteCacheClusterInputBuilder
source · #[non_exhaustive]pub struct DeleteCacheClusterInputBuilder { /* private fields */ }
Expand description
A builder for DeleteCacheClusterInput
.
Implementations§
source§impl DeleteCacheClusterInputBuilder
impl DeleteCacheClusterInputBuilder
sourcepub fn cache_cluster_id(self, input: impl Into<String>) -> Self
pub fn cache_cluster_id(self, input: impl Into<String>) -> Self
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
This field is required.sourcepub fn set_cache_cluster_id(self, input: Option<String>) -> Self
pub fn set_cache_cluster_id(self, input: Option<String>) -> Self
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
sourcepub fn get_cache_cluster_id(&self) -> &Option<String>
pub fn get_cache_cluster_id(&self) -> &Option<String>
The cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
sourcepub fn final_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn final_snapshot_identifier(self, input: impl Into<String>) -> Self
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.
sourcepub fn set_final_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_final_snapshot_identifier(self, input: Option<String>) -> Self
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.
sourcepub fn get_final_snapshot_identifier(&self) -> &Option<String>
pub fn get_final_snapshot_identifier(&self) -> &Option<String>
The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. ElastiCache creates the snapshot, and then deletes the cluster immediately afterward.
sourcepub fn build(self) -> Result<DeleteCacheClusterInput, BuildError>
pub fn build(self) -> Result<DeleteCacheClusterInput, BuildError>
Consumes the builder and constructs a DeleteCacheClusterInput
.
source§impl DeleteCacheClusterInputBuilder
impl DeleteCacheClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteCacheClusterOutput, SdkError<DeleteCacheClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteCacheClusterOutput, SdkError<DeleteCacheClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteCacheClusterInputBuilder
impl Clone for DeleteCacheClusterInputBuilder
source§fn clone(&self) -> DeleteCacheClusterInputBuilder
fn clone(&self) -> DeleteCacheClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteCacheClusterInputBuilder
impl Default for DeleteCacheClusterInputBuilder
source§fn default() -> DeleteCacheClusterInputBuilder
fn default() -> DeleteCacheClusterInputBuilder
source§impl PartialEq for DeleteCacheClusterInputBuilder
impl PartialEq for DeleteCacheClusterInputBuilder
source§fn eq(&self, other: &DeleteCacheClusterInputBuilder) -> bool
fn eq(&self, other: &DeleteCacheClusterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.