Struct aws_sdk_elasticache::operation::delete_cache_subnet_group::builders::DeleteCacheSubnetGroupFluentBuilder
source · pub struct DeleteCacheSubnetGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteCacheSubnetGroup
.
Deletes a cache subnet group.
You cannot delete a default cache subnet group or one that is associated with any clusters.
Implementations§
source§impl DeleteCacheSubnetGroupFluentBuilder
impl DeleteCacheSubnetGroupFluentBuilder
sourcepub fn as_input(&self) -> &DeleteCacheSubnetGroupInputBuilder
pub fn as_input(&self) -> &DeleteCacheSubnetGroupInputBuilder
Access the DeleteCacheSubnetGroup as a reference.
sourcepub async fn send(
self
) -> Result<DeleteCacheSubnetGroupOutput, SdkError<DeleteCacheSubnetGroupError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteCacheSubnetGroupOutput, SdkError<DeleteCacheSubnetGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteCacheSubnetGroupOutput, DeleteCacheSubnetGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteCacheSubnetGroupOutput, DeleteCacheSubnetGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn cache_subnet_group_name(self, input: impl Into<String>) -> Self
The name of the cache subnet group to delete.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
sourcepub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_cache_subnet_group_name(self, input: Option<String>) -> Self
The name of the cache subnet group to delete.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
sourcepub fn get_cache_subnet_group_name(&self) -> &Option<String>
pub fn get_cache_subnet_group_name(&self) -> &Option<String>
The name of the cache subnet group to delete.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Trait Implementations§
source§impl Clone for DeleteCacheSubnetGroupFluentBuilder
impl Clone for DeleteCacheSubnetGroupFluentBuilder
source§fn clone(&self) -> DeleteCacheSubnetGroupFluentBuilder
fn clone(&self) -> DeleteCacheSubnetGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more