pub struct Builder { /* private fields */ }
Expand description
A builder for StatelessRuleGroupReference
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the stateless rule group.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the stateless rule group.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
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.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
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.
sourcepub fn build(self) -> StatelessRuleGroupReference
pub fn build(self) -> StatelessRuleGroupReference
Consumes the builder and constructs a StatelessRuleGroupReference
.