@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceStatefulRulesDetails extends Object implements Serializable, Cloneable, StructuredPojo
A Suricata rule specification.
Constructor and Description |
---|
RuleGroupSourceStatefulRulesDetails() |
Modifier and Type | Method and Description |
---|---|
RuleGroupSourceStatefulRulesDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful
rule criteria.
|
RuleGroupSourceStatefulRulesHeaderDetails |
getHeader()
The stateful inspection criteria for the rule.
|
List<RuleGroupSourceStatefulRulesOptionsDetails> |
getRuleOptions()
Additional options for the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful
rule criteria.
|
void |
setHeader(RuleGroupSourceStatefulRulesHeaderDetails header)
The stateful inspection criteria for the rule.
|
void |
setRuleOptions(Collection<RuleGroupSourceStatefulRulesOptionsDetails> ruleOptions)
Additional options for the rule.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSourceStatefulRulesDetails |
withAction(String action)
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful
rule criteria.
|
RuleGroupSourceStatefulRulesDetails |
withHeader(RuleGroupSourceStatefulRulesHeaderDetails header)
The stateful inspection criteria for the rule.
|
RuleGroupSourceStatefulRulesDetails |
withRuleOptions(Collection<RuleGroupSourceStatefulRulesOptionsDetails> ruleOptions)
Additional options for the rule.
|
RuleGroupSourceStatefulRulesDetails |
withRuleOptions(RuleGroupSourceStatefulRulesOptionsDetails... ruleOptions)
Additional options for the rule.
|
public void setAction(String action)
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria.
action
- Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the
stateful rule criteria.public String getAction()
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria.
public RuleGroupSourceStatefulRulesDetails withAction(String action)
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria.
action
- Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the
stateful rule criteria.public void setHeader(RuleGroupSourceStatefulRulesHeaderDetails header)
The stateful inspection criteria for the rule.
header
- The stateful inspection criteria for the rule.public RuleGroupSourceStatefulRulesHeaderDetails getHeader()
The stateful inspection criteria for the rule.
public RuleGroupSourceStatefulRulesDetails withHeader(RuleGroupSourceStatefulRulesHeaderDetails header)
The stateful inspection criteria for the rule.
header
- The stateful inspection criteria for the rule.public List<RuleGroupSourceStatefulRulesOptionsDetails> getRuleOptions()
Additional options for the rule.
public void setRuleOptions(Collection<RuleGroupSourceStatefulRulesOptionsDetails> ruleOptions)
Additional options for the rule.
ruleOptions
- Additional options for the rule.public RuleGroupSourceStatefulRulesDetails withRuleOptions(RuleGroupSourceStatefulRulesOptionsDetails... ruleOptions)
Additional options for the rule.
NOTE: This method appends the values to the existing list (if any). Use
setRuleOptions(java.util.Collection)
or withRuleOptions(java.util.Collection)
if you want to
override the existing values.
ruleOptions
- Additional options for the rule.public RuleGroupSourceStatefulRulesDetails withRuleOptions(Collection<RuleGroupSourceStatefulRulesOptionsDetails> ruleOptions)
Additional options for the rule.
ruleOptions
- Additional options for the rule.public String toString()
toString
in class Object
Object.toString()
public RuleGroupSourceStatefulRulesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.