Struct aws_sdk_ec2::types::FirewallStatelessRule
source · #[non_exhaustive]pub struct FirewallStatelessRule { /* private fields */ }
Expand description
Describes a stateless rule.
Implementations§
source§impl FirewallStatelessRule
impl FirewallStatelessRule
sourcepub fn rule_group_arn(&self) -> Option<&str>
pub fn rule_group_arn(&self) -> Option<&str>
The ARN of the stateless 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 forward_to_site
.
source§impl FirewallStatelessRule
impl FirewallStatelessRule
sourcepub fn builder() -> FirewallStatelessRuleBuilder
pub fn builder() -> FirewallStatelessRuleBuilder
Creates a new builder-style object to manufacture FirewallStatelessRule
.
Trait Implementations§
source§impl Clone for FirewallStatelessRule
impl Clone for FirewallStatelessRule
source§fn clone(&self) -> FirewallStatelessRule
fn clone(&self) -> FirewallStatelessRule
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 FirewallStatelessRule
impl Debug for FirewallStatelessRule
source§impl PartialEq<FirewallStatelessRule> for FirewallStatelessRule
impl PartialEq<FirewallStatelessRule> for FirewallStatelessRule
source§fn eq(&self, other: &FirewallStatelessRule) -> bool
fn eq(&self, other: &FirewallStatelessRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FirewallStatelessRule
Auto Trait Implementations§
impl RefUnwindSafe for FirewallStatelessRule
impl Send for FirewallStatelessRule
impl Sync for FirewallStatelessRule
impl Unpin for FirewallStatelessRule
impl UnwindSafe for FirewallStatelessRule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more