#[non_exhaustive]pub struct AwsRdsDbSecurityGroupDetails {
pub db_security_group_arn: Option<String>,
pub db_security_group_description: Option<String>,
pub db_security_group_name: Option<String>,
pub ec2_security_groups: Option<Vec<AwsRdsDbSecurityGroupEc2SecurityGroup>>,
pub ip_ranges: Option<Vec<AwsRdsDbSecurityGroupIpRange>>,
pub owner_id: Option<String>,
pub vpc_id: Option<String>,
}
Expand description
Provides information about an Amazon RDS DB security 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_security_group_arn: Option<String>
The ARN for the DB security group.
db_security_group_description: Option<String>
Provides the description of the DB security group.
db_security_group_name: Option<String>
Specifies the name of the DB security group.
ec2_security_groups: Option<Vec<AwsRdsDbSecurityGroupEc2SecurityGroup>>
Contains a list of EC2 security groups.
ip_ranges: Option<Vec<AwsRdsDbSecurityGroupIpRange>>
Contains a list of IP ranges.
owner_id: Option<String>
Provides the Amazon Web Services ID of the owner of a specific DB security group.
vpc_id: Option<String>
Provides VPC ID associated with the DB security group.
Implementations§
source§impl AwsRdsDbSecurityGroupDetails
impl AwsRdsDbSecurityGroupDetails
sourcepub fn db_security_group_arn(&self) -> Option<&str>
pub fn db_security_group_arn(&self) -> Option<&str>
The ARN for 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 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 ec2_security_groups(&self) -> &[AwsRdsDbSecurityGroupEc2SecurityGroup]
pub fn ec2_security_groups(&self) -> &[AwsRdsDbSecurityGroupEc2SecurityGroup]
Contains a list of EC2 security groups.
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) -> &[AwsRdsDbSecurityGroupIpRange]
pub fn ip_ranges(&self) -> &[AwsRdsDbSecurityGroupIpRange]
Contains a list of IP ranges.
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()
.
source§impl AwsRdsDbSecurityGroupDetails
impl AwsRdsDbSecurityGroupDetails
sourcepub fn builder() -> AwsRdsDbSecurityGroupDetailsBuilder
pub fn builder() -> AwsRdsDbSecurityGroupDetailsBuilder
Creates a new builder-style object to manufacture AwsRdsDbSecurityGroupDetails
.
Trait Implementations§
source§impl Clone for AwsRdsDbSecurityGroupDetails
impl Clone for AwsRdsDbSecurityGroupDetails
source§fn clone(&self) -> AwsRdsDbSecurityGroupDetails
fn clone(&self) -> AwsRdsDbSecurityGroupDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsRdsDbSecurityGroupDetails
impl Debug for AwsRdsDbSecurityGroupDetails
source§impl PartialEq for AwsRdsDbSecurityGroupDetails
impl PartialEq for AwsRdsDbSecurityGroupDetails
source§fn eq(&self, other: &AwsRdsDbSecurityGroupDetails) -> bool
fn eq(&self, other: &AwsRdsDbSecurityGroupDetails) -> bool
self
and other
values to be equal, and is used
by ==
.