#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The Amazon EC2 subnet IDs for the subnet group.
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
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 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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyDbSubnetGroupInput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyDbSubnetGroupInput
impl Send for ModifyDbSubnetGroupInput
impl Sync for ModifyDbSubnetGroupInput
impl Unpin for ModifyDbSubnetGroupInput
impl UnwindSafe for ModifyDbSubnetGroupInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more