Struct aws_sdk_ec2::model::AnalysisSecurityGroupRule
source · #[non_exhaustive]pub struct AnalysisSecurityGroupRule { /* private fields */ }
Expand description
Describes a security group rule.
Implementations§
source§impl AnalysisSecurityGroupRule
impl AnalysisSecurityGroupRule
sourcepub fn direction(&self) -> Option<&str>
pub fn direction(&self) -> Option<&str>
The direction. The following are the possible values:
-
egress
-
ingress
sourcepub fn security_group_id(&self) -> Option<&str>
pub fn security_group_id(&self) -> Option<&str>
The security group ID.
sourcepub fn port_range(&self) -> Option<&PortRange>
pub fn port_range(&self) -> Option<&PortRange>
The port range.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The prefix list ID.
source§impl AnalysisSecurityGroupRule
impl AnalysisSecurityGroupRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AnalysisSecurityGroupRule
.
Trait Implementations§
source§impl Clone for AnalysisSecurityGroupRule
impl Clone for AnalysisSecurityGroupRule
source§fn clone(&self) -> AnalysisSecurityGroupRule
fn clone(&self) -> AnalysisSecurityGroupRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnalysisSecurityGroupRule
impl Debug for AnalysisSecurityGroupRule
source§impl PartialEq<AnalysisSecurityGroupRule> for AnalysisSecurityGroupRule
impl PartialEq<AnalysisSecurityGroupRule> for AnalysisSecurityGroupRule
source§fn eq(&self, other: &AnalysisSecurityGroupRule) -> bool
fn eq(&self, other: &AnalysisSecurityGroupRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.