#[non_exhaustive]pub struct ModifyDbSubnetGroupInput {
pub db_subnet_group_name: Option<String>,
pub db_subnet_group_description: Option<String>,
pub subnet_ids: Option<Vec<String>>,
}Expand description
Represents the input to ModifyDBSubnetGroup.
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. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. 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.
Implementations§
source§impl ModifyDbSubnetGroupInput
impl ModifyDbSubnetGroupInput
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. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. 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().
source§impl ModifyDbSubnetGroupInput
impl ModifyDbSubnetGroupInput
sourcepub fn builder() -> ModifyDbSubnetGroupInputBuilder
pub fn builder() -> ModifyDbSubnetGroupInputBuilder
Creates a new builder-style object to manufacture ModifyDbSubnetGroupInput.
Trait Implementations§
source§impl Clone for ModifyDbSubnetGroupInput
impl Clone for ModifyDbSubnetGroupInput
source§fn clone(&self) -> ModifyDbSubnetGroupInput
fn clone(&self) -> ModifyDbSubnetGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyDbSubnetGroupInput
impl Debug for ModifyDbSubnetGroupInput
source§impl PartialEq for ModifyDbSubnetGroupInput
impl PartialEq for ModifyDbSubnetGroupInput
source§fn eq(&self, other: &ModifyDbSubnetGroupInput) -> bool
fn eq(&self, other: &ModifyDbSubnetGroupInput) -> bool
self and other values to be equal, and is used
by ==.