#[non_exhaustive]pub struct StatelessRuleGroupReference {
pub resource_arn: String,
pub priority: i32,
}
Expand description
Identifier for a single stateless rule group, used in a firewall policy to refer to the rule 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.resource_arn: String
The Amazon Resource Name (ARN) of the stateless rule group.
priority: i32
An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy
. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
Implementations§
source§impl StatelessRuleGroupReference
impl StatelessRuleGroupReference
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
The Amazon Resource Name (ARN) of the stateless rule group.
sourcepub fn priority(&self) -> i32
pub fn priority(&self) -> i32
An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy
. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
source§impl StatelessRuleGroupReference
impl StatelessRuleGroupReference
sourcepub fn builder() -> StatelessRuleGroupReferenceBuilder
pub fn builder() -> StatelessRuleGroupReferenceBuilder
Creates a new builder-style object to manufacture StatelessRuleGroupReference
.
Trait Implementations§
source§impl Clone for StatelessRuleGroupReference
impl Clone for StatelessRuleGroupReference
source§fn clone(&self) -> StatelessRuleGroupReference
fn clone(&self) -> StatelessRuleGroupReference
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StatelessRuleGroupReference
impl Debug for StatelessRuleGroupReference
source§impl PartialEq for StatelessRuleGroupReference
impl PartialEq for StatelessRuleGroupReference
source§fn eq(&self, other: &StatelessRuleGroupReference) -> bool
fn eq(&self, other: &StatelessRuleGroupReference) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatelessRuleGroupReference
Auto Trait Implementations§
impl Freeze for StatelessRuleGroupReference
impl RefUnwindSafe for StatelessRuleGroupReference
impl Send for StatelessRuleGroupReference
impl Sync for StatelessRuleGroupReference
impl Unpin for StatelessRuleGroupReference
impl UnwindSafe for StatelessRuleGroupReference
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more