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 ==
.