@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceStatelessRuleDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The definition of the stateless rule.
| Constructor and Description |
|---|
RuleGroupSourceStatelessRuleDefinition() |
| Modifier and Type | Method and Description |
|---|---|
RuleGroupSourceStatelessRuleDefinition |
clone() |
boolean |
equals(Object obj) |
List<String> |
getActions()
The actions to take on a packet that matches one of the stateless rule definition's match attributes.
|
RuleGroupSourceStatelessRuleMatchAttributes |
getMatchAttributes()
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActions(Collection<String> actions)
The actions to take on a packet that matches one of the stateless rule definition's match attributes.
|
void |
setMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes matchAttributes)
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSourceStatelessRuleDefinition |
withActions(Collection<String> actions)
The actions to take on a packet that matches one of the stateless rule definition's match attributes.
|
RuleGroupSourceStatelessRuleDefinition |
withActions(String... actions)
The actions to take on a packet that matches one of the stateless rule definition's match attributes.
|
RuleGroupSourceStatelessRuleDefinition |
withMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes matchAttributes)
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
|
public RuleGroupSourceStatelessRuleDefinition()
public List<String> getActions()
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must
specify a standard action (aws:pass, aws:drop, or aws:forward_to_sfe). You
can then add custom actions.
aws:pass, aws:drop, or
aws:forward_to_sfe). You can then add custom actions.public void setActions(Collection<String> actions)
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must
specify a standard action (aws:pass, aws:drop, or aws:forward_to_sfe). You
can then add custom actions.
actions - The actions to take on a packet that matches one of the stateless rule definition's match attributes. You
must specify a standard action (aws:pass, aws:drop, or
aws:forward_to_sfe). You can then add custom actions.public RuleGroupSourceStatelessRuleDefinition withActions(String... actions)
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must
specify a standard action (aws:pass, aws:drop, or aws:forward_to_sfe). You
can then add custom actions.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
the existing values.
actions - The actions to take on a packet that matches one of the stateless rule definition's match attributes. You
must specify a standard action (aws:pass, aws:drop, or
aws:forward_to_sfe). You can then add custom actions.public RuleGroupSourceStatelessRuleDefinition withActions(Collection<String> actions)
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must
specify a standard action (aws:pass, aws:drop, or aws:forward_to_sfe). You
can then add custom actions.
actions - The actions to take on a packet that matches one of the stateless rule definition's match attributes. You
must specify a standard action (aws:pass, aws:drop, or
aws:forward_to_sfe). You can then add custom actions.public void setMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes matchAttributes)
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
matchAttributes - The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.public RuleGroupSourceStatelessRuleMatchAttributes getMatchAttributes()
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
public RuleGroupSourceStatelessRuleDefinition withMatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes matchAttributes)
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
matchAttributes - The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.public String toString()
toString in class ObjectObject.toString()public RuleGroupSourceStatelessRuleDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.