Struct aws_sdk_rds::operation::delete_db_security_group::builders::DeleteDbSecurityGroupInputBuilder
source · #[non_exhaustive]pub struct DeleteDbSecurityGroupInputBuilder { /* private fields */ }Expand description
A builder for DeleteDbSecurityGroupInput.
Implementations§
source§impl DeleteDbSecurityGroupInputBuilder
impl DeleteDbSecurityGroupInputBuilder
sourcepub fn db_security_group_name(self, input: impl Into<String>) -> Self
pub fn db_security_group_name(self, input: impl Into<String>) -> Self
The name of the DB security group to delete.
You can't delete the default DB security group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
-
Must not be "Default"
sourcepub fn set_db_security_group_name(self, input: Option<String>) -> Self
pub fn set_db_security_group_name(self, input: Option<String>) -> Self
The name of the DB security group to delete.
You can't delete the default DB security group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
-
Must not be "Default"
sourcepub fn build(self) -> Result<DeleteDbSecurityGroupInput, BuildError>
pub fn build(self) -> Result<DeleteDbSecurityGroupInput, BuildError>
Consumes the builder and constructs a DeleteDbSecurityGroupInput.
Trait Implementations§
source§impl Clone for DeleteDbSecurityGroupInputBuilder
impl Clone for DeleteDbSecurityGroupInputBuilder
source§fn clone(&self) -> DeleteDbSecurityGroupInputBuilder
fn clone(&self) -> DeleteDbSecurityGroupInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteDbSecurityGroupInputBuilder
impl Default for DeleteDbSecurityGroupInputBuilder
source§fn default() -> DeleteDbSecurityGroupInputBuilder
fn default() -> DeleteDbSecurityGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteDbSecurityGroupInputBuilder> for DeleteDbSecurityGroupInputBuilder
impl PartialEq<DeleteDbSecurityGroupInputBuilder> for DeleteDbSecurityGroupInputBuilder
source§fn eq(&self, other: &DeleteDbSecurityGroupInputBuilder) -> bool
fn eq(&self, other: &DeleteDbSecurityGroupInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.