@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSource extends Object implements Serializable, Cloneable, StructuredPojo
The rules and actions for the rule group.
Constructor and Description |
---|
RuleGroupSource() |
Modifier and Type | Method and Description |
---|---|
RuleGroupSource |
clone() |
boolean |
equals(Object obj) |
RuleGroupSourceListDetails |
getRulesSourceList()
Stateful inspection criteria for a domain list rule group.
|
String |
getRulesString()
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
|
List<RuleGroupSourceStatefulRulesDetails> |
getStatefulRules()
Suricata rule specifications.
|
RuleGroupSourceStatelessRulesAndCustomActionsDetails |
getStatelessRulesAndCustomActions()
The stateless rules and custom actions used by a stateless rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRulesSourceList(RuleGroupSourceListDetails rulesSourceList)
Stateful inspection criteria for a domain list rule group.
|
void |
setRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
|
void |
setStatefulRules(Collection<RuleGroupSourceStatefulRulesDetails> statefulRules)
Suricata rule specifications.
|
void |
setStatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails statelessRulesAndCustomActions)
The stateless rules and custom actions used by a stateless rule group.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSource |
withRulesSourceList(RuleGroupSourceListDetails rulesSourceList)
Stateful inspection criteria for a domain list rule group.
|
RuleGroupSource |
withRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
|
RuleGroupSource |
withStatefulRules(Collection<RuleGroupSourceStatefulRulesDetails> statefulRules)
Suricata rule specifications.
|
RuleGroupSource |
withStatefulRules(RuleGroupSourceStatefulRulesDetails... statefulRules)
Suricata rule specifications.
|
RuleGroupSource |
withStatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails statelessRulesAndCustomActions)
The stateless rules and custom actions used by a stateless rule group.
|
public void setRulesSourceList(RuleGroupSourceListDetails rulesSourceList)
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
rulesSourceList
- Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by
specific protocols to specific domains.public RuleGroupSourceListDetails getRulesSourceList()
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
public RuleGroupSource withRulesSourceList(RuleGroupSourceListDetails rulesSourceList)
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
rulesSourceList
- Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by
specific protocols to specific domains.public void setRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
rulesString
- Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.public String getRulesString()
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
public RuleGroupSource withRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
rulesString
- Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.public List<RuleGroupSourceStatefulRulesDetails> getStatefulRules()
Suricata rule specifications.
public void setStatefulRules(Collection<RuleGroupSourceStatefulRulesDetails> statefulRules)
Suricata rule specifications.
statefulRules
- Suricata rule specifications.public RuleGroupSource withStatefulRules(RuleGroupSourceStatefulRulesDetails... statefulRules)
Suricata rule specifications.
NOTE: This method appends the values to the existing list (if any). Use
setStatefulRules(java.util.Collection)
or withStatefulRules(java.util.Collection)
if you want
to override the existing values.
statefulRules
- Suricata rule specifications.public RuleGroupSource withStatefulRules(Collection<RuleGroupSourceStatefulRulesDetails> statefulRules)
Suricata rule specifications.
statefulRules
- Suricata rule specifications.public void setStatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails statelessRulesAndCustomActions)
The stateless rules and custom actions used by a stateless rule group.
statelessRulesAndCustomActions
- The stateless rules and custom actions used by a stateless rule group.public RuleGroupSourceStatelessRulesAndCustomActionsDetails getStatelessRulesAndCustomActions()
The stateless rules and custom actions used by a stateless rule group.
public RuleGroupSource withStatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails statelessRulesAndCustomActions)
The stateless rules and custom actions used by a stateless rule group.
statelessRulesAndCustomActions
- The stateless rules and custom actions used by a stateless rule group.public String toString()
toString
in class Object
Object.toString()
public RuleGroupSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.