Struct aws_sdk_rds::input::delete_db_security_group_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DeleteDbSecurityGroupInput.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more