#[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 ==.impl StructuralPartialEq for ModifyDbSubnetGroupInput
Auto Trait Implementations§
impl Freeze for ModifyDbSubnetGroupInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more