@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 AWS 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 AWS Firewall Manager rule.
|
String |
getName()
The name of the rule group.
|
OverrideAction |
getOverrideAction() |
Integer |
getPriority()
If you define more than one rule group in the first or last Firewall Manager rule groups, AWS WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
VisibilityConfig |
getVisibilityConfig() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFirewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an AWS Firewall Manager rule.
|
void |
setName(String name)
The name of the rule group.
|
void |
setOverrideAction(OverrideAction overrideAction) |
void |
setPriority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, AWS WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
void |
setVisibilityConfig(VisibilityConfig visibilityConfig) |
String |
toString()
Returns a string representation of this object.
|
FirewallManagerRuleGroup |
withFirewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an AWS Firewall Manager rule.
|
FirewallManagerRuleGroup |
withName(String name)
The name of the rule group.
|
FirewallManagerRuleGroup |
withOverrideAction(OverrideAction overrideAction) |
FirewallManagerRuleGroup |
withPriority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, AWS WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
FirewallManagerRuleGroup |
withVisibilityConfig(VisibilityConfig visibilityConfig) |
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, AWS 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, AWS 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, AWS 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, AWS 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, AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS Firewall Manager rule. This is like a regular rule Statement,
but it can only contain a rule group reference.public void setOverrideAction(OverrideAction overrideAction)
overrideAction
- public OverrideAction getOverrideAction()
public FirewallManagerRuleGroup withOverrideAction(OverrideAction overrideAction)
overrideAction
- public void setVisibilityConfig(VisibilityConfig visibilityConfig)
visibilityConfig
- public VisibilityConfig getVisibilityConfig()
public FirewallManagerRuleGroup withVisibilityConfig(VisibilityConfig visibilityConfig)
visibilityConfig
- 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.