Struct aws_sdk_docdb::types::DbSubnetGroup
source · #[non_exhaustive]pub struct DbSubnetGroup {
pub db_subnet_group_name: Option<String>,
pub db_subnet_group_description: Option<String>,
pub vpc_id: Option<String>,
pub subnet_group_status: Option<String>,
pub subnets: Option<Vec<Subnet>>,
pub db_subnet_group_arn: Option<String>,
}
Expand description
Detailed information about a subnet group.
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 of the subnet group.
db_subnet_group_description: Option<String>
Provides the description of the subnet group.
vpc_id: Option<String>
Provides the virtual private cloud (VPC) ID of the subnet group.
subnet_group_status: Option<String>
Provides the status of the subnet group.
subnets: Option<Vec<Subnet>>
Detailed information about one or more subnets within a subnet group.
db_subnet_group_arn: Option<String>
The Amazon Resource Name (ARN) for the DB subnet group.
Implementations§
source§impl DbSubnetGroup
impl DbSubnetGroup
sourcepub fn db_subnet_group_name(&self) -> Option<&str>
pub fn db_subnet_group_name(&self) -> Option<&str>
The name of the subnet group.
sourcepub fn db_subnet_group_description(&self) -> Option<&str>
pub fn db_subnet_group_description(&self) -> Option<&str>
Provides the description of the subnet group.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
Provides the virtual private cloud (VPC) ID of the subnet group.
sourcepub fn subnet_group_status(&self) -> Option<&str>
pub fn subnet_group_status(&self) -> Option<&str>
Provides the status of the subnet group.
sourcepub fn subnets(&self) -> &[Subnet]
pub fn subnets(&self) -> &[Subnet]
Detailed information about one or more subnets within a 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 .subnets.is_none()
.
sourcepub fn db_subnet_group_arn(&self) -> Option<&str>
pub fn db_subnet_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the DB subnet group.
source§impl DbSubnetGroup
impl DbSubnetGroup
sourcepub fn builder() -> DbSubnetGroupBuilder
pub fn builder() -> DbSubnetGroupBuilder
Creates a new builder-style object to manufacture DbSubnetGroup
.
Trait Implementations§
source§impl Clone for DbSubnetGroup
impl Clone for DbSubnetGroup
source§fn clone(&self) -> DbSubnetGroup
fn clone(&self) -> DbSubnetGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbSubnetGroup
impl Debug for DbSubnetGroup
source§impl PartialEq for DbSubnetGroup
impl PartialEq for DbSubnetGroup
source§fn eq(&self, other: &DbSubnetGroup) -> bool
fn eq(&self, other: &DbSubnetGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DbSubnetGroup
Auto Trait Implementations§
impl Freeze for DbSubnetGroup
impl RefUnwindSafe for DbSubnetGroup
impl Send for DbSubnetGroup
impl Sync for DbSubnetGroup
impl Unpin for DbSubnetGroup
impl UnwindSafe for DbSubnetGroup
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