Struct aws_sdk_rds::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>,
pub supported_network_types: Option<Vec<String>>,
}
Expand description
Contains the details of an Amazon RDS DB subnet group.
This data type is used as a response element in the DescribeDBSubnetGroups
action.
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 DB subnet group.
db_subnet_group_description: Option<String>
Provides the description of the DB subnet group.
vpc_id: Option<String>
Provides the VpcId of the DB subnet group.
subnet_group_status: Option<String>
Provides the status of the DB subnet group.
subnets: Option<Vec<Subnet>>
Contains a list of Subnet
elements.
db_subnet_group_arn: Option<String>
The Amazon Resource Name (ARN) for the DB subnet group.
supported_network_types: Option<Vec<String>>
The network type of the DB subnet group.
Valid values:
-
IPV4
-
DUAL
A DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
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 DB 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 DB subnet group.
sourcepub fn subnet_group_status(&self) -> Option<&str>
pub fn subnet_group_status(&self) -> Option<&str>
Provides the status of the DB subnet group.
sourcepub fn subnets(&self) -> &[Subnet]
pub fn subnets(&self) -> &[Subnet]
Contains a list of Subnet
elements.
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.
sourcepub fn supported_network_types(&self) -> &[String]
pub fn supported_network_types(&self) -> &[String]
The network type of the DB subnet group.
Valid values:
-
IPV4
-
DUAL
A DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_network_types.is_none()
.
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 ==
.