Struct aws_sdk_networkfirewall::model::RuleGroupResponse
source · [−]#[non_exhaustive]pub struct RuleGroupResponse {
pub rule_group_arn: Option<String>,
pub rule_group_name: Option<String>,
pub rule_group_id: Option<String>,
pub description: Option<String>,
pub type: Option<RuleGroupType>,
pub capacity: Option<i32>,
pub rule_group_status: Option<ResourceStatus>,
pub tags: Option<Vec<Tag>>,
pub consumed_capacity: Option<i32>,
pub number_of_associations: Option<i32>,
}
Expand description
The high-level properties of a rule group. This, along with the RuleGroup
, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup
.
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.rule_group_arn: Option<String>
The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is a placeholder that isn't attached to a valid resource.
rule_group_name: Option<String>
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
rule_group_id: Option<String>
The unique identifier for the rule group.
description: Option<String>
A description of the rule group.
type: Option<RuleGroupType>
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
capacity: Option<i32>
The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup
with DryRun
set to TRUE
.
rule_group_status: Option<ResourceStatus>
Detailed information about the current status of a rule group.
The key:value pairs to associate with the resource.
consumed_capacity: Option<i32>
The number of capacity units currently consumed by the rule group rules.
number_of_associations: Option<i32>
The number of firewall policies that use this rule group.
Implementations
sourceimpl RuleGroupResponse
impl RuleGroupResponse
sourcepub fn rule_group_arn(&self) -> Option<&str>
pub fn rule_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is a placeholder that isn't attached to a valid resource.
sourcepub fn rule_group_name(&self) -> Option<&str>
pub fn rule_group_name(&self) -> Option<&str>
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
sourcepub fn rule_group_id(&self) -> Option<&str>
pub fn rule_group_id(&self) -> Option<&str>
The unique identifier for the rule group.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the rule group.
sourcepub fn type(&self) -> Option<&RuleGroupType>
pub fn type(&self) -> Option<&RuleGroupType>
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
sourcepub fn capacity(&self) -> Option<i32>
pub fn capacity(&self) -> Option<i32>
The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup
with DryRun
set to TRUE
.
sourcepub fn rule_group_status(&self) -> Option<&ResourceStatus>
pub fn rule_group_status(&self) -> Option<&ResourceStatus>
Detailed information about the current status of a rule group.
The key:value pairs to associate with the resource.
sourcepub fn consumed_capacity(&self) -> Option<i32>
pub fn consumed_capacity(&self) -> Option<i32>
The number of capacity units currently consumed by the rule group rules.
sourcepub fn number_of_associations(&self) -> Option<i32>
pub fn number_of_associations(&self) -> Option<i32>
The number of firewall policies that use this rule group.
sourceimpl RuleGroupResponse
impl RuleGroupResponse
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RuleGroupResponse
Trait Implementations
sourceimpl Clone for RuleGroupResponse
impl Clone for RuleGroupResponse
sourcefn clone(&self) -> RuleGroupResponse
fn clone(&self) -> RuleGroupResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RuleGroupResponse
impl Debug for RuleGroupResponse
sourceimpl PartialEq<RuleGroupResponse> for RuleGroupResponse
impl PartialEq<RuleGroupResponse> for RuleGroupResponse
sourcefn eq(&self, other: &RuleGroupResponse) -> bool
fn eq(&self, other: &RuleGroupResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RuleGroupResponse) -> bool
fn ne(&self, other: &RuleGroupResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for RuleGroupResponse
Auto Trait Implementations
impl RefUnwindSafe for RuleGroupResponse
impl Send for RuleGroupResponse
impl Sync for RuleGroupResponse
impl Unpin for RuleGroupResponse
impl UnwindSafe for RuleGroupResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more