Struct aws_sdk_docdb::operation::delete_db_subnet_group::builders::DeleteDBSubnetGroupFluentBuilder
source · pub struct DeleteDBSubnetGroupFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteDBSubnetGroup.
Deletes a subnet group.
The specified database subnet group must not be associated with any DB instances.
Implementations§
source§impl DeleteDBSubnetGroupFluentBuilder
impl DeleteDBSubnetGroupFluentBuilder
sourcepub fn as_input(&self) -> &DeleteDbSubnetGroupInputBuilder
pub fn as_input(&self) -> &DeleteDbSubnetGroupInputBuilder
Access the DeleteDBSubnetGroup as a reference.
sourcepub async fn send(
self
) -> Result<DeleteDbSubnetGroupOutput, SdkError<DeleteDBSubnetGroupError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteDbSubnetGroupOutput, SdkError<DeleteDBSubnetGroupError, 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<DeleteDbSubnetGroupOutput, DeleteDBSubnetGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteDbSubnetGroupOutput, DeleteDBSubnetGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
The name of the database subnet group to delete.
You can't delete the default subnet group.
Constraints:
Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
sourcepub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
The name of the database subnet group to delete.
You can't delete the default subnet group.
Constraints:
Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
sourcepub fn get_db_subnet_group_name(&self) -> &Option<String>
pub fn get_db_subnet_group_name(&self) -> &Option<String>
The name of the database subnet group to delete.
You can't delete the default subnet group.
Constraints:
Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
Trait Implementations§
source§impl Clone for DeleteDBSubnetGroupFluentBuilder
impl Clone for DeleteDBSubnetGroupFluentBuilder
source§fn clone(&self) -> DeleteDBSubnetGroupFluentBuilder
fn clone(&self) -> DeleteDBSubnetGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more