Struct aws_sdk_rds::input::create_db_security_group_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for CreateDbSecurityGroupInput.
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 for the DB security group. This value is stored as a lowercase string.
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"
Example: mysecuritygroup
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 for the DB security group. This value is stored as a lowercase string.
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"
Example: mysecuritygroup
sourcepub fn db_security_group_description(self, input: impl Into<String>) -> Self
pub fn db_security_group_description(self, input: impl Into<String>) -> Self
The description for the DB security group.
sourcepub fn set_db_security_group_description(self, input: Option<String>) -> Self
pub fn set_db_security_group_description(self, input: Option<String>) -> Self
The description for the DB security group.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags to assign to the DB security group.
Tags to assign to the DB security group.
sourcepub fn build(self) -> Result<CreateDbSecurityGroupInput, BuildError>
pub fn build(self) -> Result<CreateDbSecurityGroupInput, BuildError>
Consumes the builder and constructs a CreateDbSecurityGroupInput.