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 ==
.impl StructuralPartialEq for DeleteCacheClusterInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteCacheClusterInputBuilder
impl RefUnwindSafe for DeleteCacheClusterInputBuilder
impl Send for DeleteCacheClusterInputBuilder
impl Sync for DeleteCacheClusterInputBuilder
impl Unpin for DeleteCacheClusterInputBuilder
impl UnwindSafe for DeleteCacheClusterInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more