Struct aws_sdk_ec2::types::FirewallStatefulRule
source · #[non_exhaustive]pub struct FirewallStatefulRule { /* private fields */ }
Expand description
Describes a stateful rule.
Implementations§
source§impl FirewallStatefulRule
impl FirewallStatefulRule
sourcepub fn rule_group_arn(&self) -> Option<&str>
pub fn rule_group_arn(&self) -> Option<&str>
The ARN of the stateful rule group.
sourcepub fn destinations(&self) -> Option<&[String]>
pub fn destinations(&self) -> Option<&[String]>
The destination IP addresses, in CIDR notation.
sourcepub fn source_ports(&self) -> Option<&[PortRange]>
pub fn source_ports(&self) -> Option<&[PortRange]>
The source ports.
sourcepub fn destination_ports(&self) -> Option<&[PortRange]>
pub fn destination_ports(&self) -> Option<&[PortRange]>
The destination ports.
sourcepub fn rule_action(&self) -> Option<&str>
pub fn rule_action(&self) -> Option<&str>
The rule action. The possible values are pass
, drop
, and alert
.
source§impl FirewallStatefulRule
impl FirewallStatefulRule
sourcepub fn builder() -> FirewallStatefulRuleBuilder
pub fn builder() -> FirewallStatefulRuleBuilder
Creates a new builder-style object to manufacture FirewallStatefulRule
.
Trait Implementations§
source§impl Clone for FirewallStatefulRule
impl Clone for FirewallStatefulRule
source§fn clone(&self) -> FirewallStatefulRule
fn clone(&self) -> FirewallStatefulRule
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 FirewallStatefulRule
impl Debug for FirewallStatefulRule
source§impl PartialEq<FirewallStatefulRule> for FirewallStatefulRule
impl PartialEq<FirewallStatefulRule> for FirewallStatefulRule
source§fn eq(&self, other: &FirewallStatefulRule) -> bool
fn eq(&self, other: &FirewallStatefulRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.