Struct aws_sdk_rds::types::DbSecurityGroup
source · #[non_exhaustive]pub struct DbSecurityGroup {
pub owner_id: Option<String>,
pub db_security_group_name: Option<String>,
pub db_security_group_description: Option<String>,
pub vpc_id: Option<String>,
pub ec2_security_groups: Option<Vec<Ec2SecurityGroup>>,
pub ip_ranges: Option<Vec<IpRange>>,
pub db_security_group_arn: Option<String>,
}
Expand description
Contains the details for an Amazon RDS DB security group.
This data type is used as a response element in the DescribeDBSecurityGroups
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.owner_id: Option<String>
Provides the Amazon Web Services ID of the owner of a specific DB security group.
db_security_group_name: Option<String>
Specifies the name of the DB security group.
db_security_group_description: Option<String>
Provides the description of the DB security group.
vpc_id: Option<String>
Provides the VpcId of the DB security group.
ec2_security_groups: Option<Vec<Ec2SecurityGroup>>
Contains a list of EC2SecurityGroup
elements.
ip_ranges: Option<Vec<IpRange>>
Contains a list of IPRange
elements.
db_security_group_arn: Option<String>
The Amazon Resource Name (ARN) for the DB security group.
Implementations§
source§impl DbSecurityGroup
impl DbSecurityGroup
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
Provides the Amazon Web Services ID of the owner of a specific DB security group.
sourcepub fn db_security_group_name(&self) -> Option<&str>
pub fn db_security_group_name(&self) -> Option<&str>
Specifies the name of the DB security group.
sourcepub fn db_security_group_description(&self) -> Option<&str>
pub fn db_security_group_description(&self) -> Option<&str>
Provides the description of the DB security group.
sourcepub fn ec2_security_groups(&self) -> &[Ec2SecurityGroup]
pub fn ec2_security_groups(&self) -> &[Ec2SecurityGroup]
Contains a list of EC2SecurityGroup
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 .ec2_security_groups.is_none()
.
sourcepub fn ip_ranges(&self) -> &[IpRange]
pub fn ip_ranges(&self) -> &[IpRange]
Contains a list of IPRange
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 .ip_ranges.is_none()
.
sourcepub fn db_security_group_arn(&self) -> Option<&str>
pub fn db_security_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the DB security group.
source§impl DbSecurityGroup
impl DbSecurityGroup
sourcepub fn builder() -> DbSecurityGroupBuilder
pub fn builder() -> DbSecurityGroupBuilder
Creates a new builder-style object to manufacture DbSecurityGroup
.
Trait Implementations§
source§impl Clone for DbSecurityGroup
impl Clone for DbSecurityGroup
source§fn clone(&self) -> DbSecurityGroup
fn clone(&self) -> DbSecurityGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbSecurityGroup
impl Debug for DbSecurityGroup
source§impl PartialEq for DbSecurityGroup
impl PartialEq for DbSecurityGroup
source§fn eq(&self, other: &DbSecurityGroup) -> bool
fn eq(&self, other: &DbSecurityGroup) -> bool
self
and other
values to be equal, and is used
by ==
.