#[non_exhaustive]pub struct CreateDbSubnetGroupInput {
pub db_subnet_group_name: Option<String>,
pub db_subnet_group_description: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}Expand description
Represents the input to CreateDBSubnetGroup.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_subnet_group_name: Option<String>The name for the subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
db_subnet_group_description: Option<String>The description for the subnet group.
subnet_ids: Option<Vec<String>>The Amazon EC2 subnet IDs for the subnet group.
The tags to be assigned to the subnet group.
Implementations§
source§impl CreateDbSubnetGroupInput
impl CreateDbSubnetGroupInput
sourcepub fn db_subnet_group_name(&self) -> Option<&str>
pub fn db_subnet_group_name(&self) -> Option<&str>
The name for the subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
sourcepub fn db_subnet_group_description(&self) -> Option<&str>
pub fn db_subnet_group_description(&self) -> Option<&str>
The description for the subnet group.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The Amazon EC2 subnet IDs for the subnet group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none().
The tags to be assigned to the subnet group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateDbSubnetGroupInput
impl CreateDbSubnetGroupInput
sourcepub fn builder() -> CreateDbSubnetGroupInputBuilder
pub fn builder() -> CreateDbSubnetGroupInputBuilder
Creates a new builder-style object to manufacture CreateDbSubnetGroupInput.
Trait Implementations§
source§impl Clone for CreateDbSubnetGroupInput
impl Clone for CreateDbSubnetGroupInput
source§fn clone(&self) -> CreateDbSubnetGroupInput
fn clone(&self) -> CreateDbSubnetGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDbSubnetGroupInput
impl Debug for CreateDbSubnetGroupInput
source§impl PartialEq for CreateDbSubnetGroupInput
impl PartialEq for CreateDbSubnetGroupInput
source§fn eq(&self, other: &CreateDbSubnetGroupInput) -> bool
fn eq(&self, other: &CreateDbSubnetGroupInput) -> bool
self and other values to be equal, and is used
by ==.