@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirewallManagerRuleGroup extends Object implements Serializable, Cloneable, StructuredPojo
A rule group that's defined for an Firewall Manager WAF policy.
Constructor and Description |
---|
FirewallManagerRuleGroup() |
Modifier and Type | Method and Description |
---|---|
FirewallManagerRuleGroup |
clone() |
boolean |
equals(Object obj) |
FirewallManagerStatement |
getFirewallManagerStatement()
The processing guidance for an Firewall Manager rule.
|
String |
getName()
The name of the rule group.
|
OverrideAction |
getOverrideAction()
The action to use in the place of the action that results from the rule group evaluation.
|
Integer |
getPriority()
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
VisibilityConfig |
getVisibilityConfig()
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFirewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an Firewall Manager rule.
|
void |
setName(String name)
The name of the rule group.
|
void |
setOverrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
void |
setPriority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
void |
setVisibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
String |
toString()
Returns a string representation of this object.
|
FirewallManagerRuleGroup |
withFirewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an Firewall Manager rule.
|
FirewallManagerRuleGroup |
withName(String name)
The name of the rule group.
|
FirewallManagerRuleGroup |
withOverrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
FirewallManagerRuleGroup |
withPriority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
FirewallManagerRuleGroup |
withVisibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
public void setName(String name)
The name of the rule group. You cannot change the name of a rule group after you create it.
name
- The name of the rule group. You cannot change the name of a rule group after you create it.public String getName()
The name of the rule group. You cannot change the name of a rule group after you create it.
public FirewallManagerRuleGroup withName(String name)
The name of the rule group. You cannot change the name of a rule group after you create it.
name
- The name of the rule group. You cannot change the name of a rule group after you create it.public void setPriority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each request against the rule groups in order, starting from the lowest priority setting. The priorities don't need to be consecutive, but they must all be different.
priority
- If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates
each request against the rule groups in order, starting from the lowest priority setting. The priorities
don't need to be consecutive, but they must all be different.public Integer getPriority()
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each request against the rule groups in order, starting from the lowest priority setting. The priorities don't need to be consecutive, but they must all be different.
public FirewallManagerRuleGroup withPriority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each request against the rule groups in order, starting from the lowest priority setting. The priorities don't need to be consecutive, but they must all be different.
priority
- If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates
each request against the rule groups in order, starting from the lowest priority setting. The priorities
don't need to be consecutive, but they must all be different.public void setFirewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.
firewallManagerStatement
- The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it
can only contain a rule group reference.public FirewallManagerStatement getFirewallManagerStatement()
The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.
public FirewallManagerRuleGroup withFirewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.
firewallManagerStatement
- The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it
can only contain a rule group reference.public void setOverrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want
the rules in the rule group to only count matches, do not use this and instead use the rule action override
option, with Count
action, in your rule group reference statement settings.
overrideAction
- The action to use in the place of the action that results from the rule group evaluation. Set the override
action to none to leave the result of the rule group alone. Set it to count to override the result to
count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If
you want the rules in the rule group to only count matches, do not use this and instead use the rule
action override option, with Count
action, in your rule group reference statement settings.
public OverrideAction getOverrideAction()
The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want
the rules in the rule group to only count matches, do not use this and instead use the rule action override
option, with Count
action, in your rule group reference statement settings.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If
you want the rules in the rule group to only count matches, do not use this and instead use the rule
action override option, with Count
action, in your rule group reference statement settings.
public FirewallManagerRuleGroup withOverrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want
the rules in the rule group to only count matches, do not use this and instead use the rule action override
option, with Count
action, in your rule group reference statement settings.
overrideAction
- The action to use in the place of the action that results from the rule group evaluation. Set the override
action to none to leave the result of the rule group alone. Set it to count to override the result to
count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If
you want the rules in the rule group to only count matches, do not use this and instead use the rule
action override option, with Count
action, in your rule group reference statement settings.
public void setVisibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
visibilityConfig
- Defines and enables Amazon CloudWatch metrics and web request sample collection.public VisibilityConfig getVisibilityConfig()
Defines and enables Amazon CloudWatch metrics and web request sample collection.
public FirewallManagerRuleGroup withVisibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
visibilityConfig
- Defines and enables Amazon CloudWatch metrics and web request sample collection.public String toString()
toString
in class Object
Object.toString()
public FirewallManagerRuleGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.