@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RulesSource extends Object implements Serializable, Cloneable, StructuredPojo
The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single
RulesSource
. You can use an instance of this for either stateless rules or stateful rules.
Constructor and Description |
---|
RulesSource() |
Modifier and Type | Method and Description |
---|---|
RulesSource |
clone() |
boolean |
equals(Object obj) |
RulesSourceList |
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<StatefulRule> |
getStatefulRules()
The 5-tuple stateful inspection criteria.
|
StatelessRulesAndCustomActions |
getStatelessRulesAndCustomActions()
Stateless inspection criteria to be used in a stateless rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRulesSourceList(RulesSourceList 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<StatefulRule> statefulRules)
The 5-tuple stateful inspection criteria.
|
void |
setStatelessRulesAndCustomActions(StatelessRulesAndCustomActions statelessRulesAndCustomActions)
Stateless inspection criteria to be used in a stateless rule group.
|
String |
toString()
Returns a string representation of this object.
|
RulesSource |
withRulesSourceList(RulesSourceList rulesSourceList)
Stateful inspection criteria for a domain list rule group.
|
RulesSource |
withRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
|
RulesSource |
withStatefulRules(Collection<StatefulRule> statefulRules)
The 5-tuple stateful inspection criteria.
|
RulesSource |
withStatefulRules(StatefulRule... statefulRules)
The 5-tuple stateful inspection criteria.
|
RulesSource |
withStatelessRulesAndCustomActions(StatelessRulesAndCustomActions statelessRulesAndCustomActions)
Stateless inspection criteria to be used in a stateless rule group.
|
public void setRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can provide the rules from a file that you've stored in an Amazon S3 bucket, or by providing the rules in a Suricata rules string. To import from Amazon S3, provide the fully qualified name of the file that contains the rules definitions. To provide a Suricata rule string, provide the complete, Suricata compatible rule.
rulesString
- Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
Suricata is an open-source network IPS that includes a standard rule-based language for network traffic
inspection.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can provide the rules from a file that you've stored in an Amazon S3 bucket, or by providing the rules in a Suricata rules string. To import from Amazon S3, provide the fully qualified name of the file that contains the rules definitions. To provide a Suricata rule string, provide the complete, Suricata compatible rule.
public String getRulesString()
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can provide the rules from a file that you've stored in an Amazon S3 bucket, or by providing the rules in a Suricata rules string. To import from Amazon S3, provide the fully qualified name of the file that contains the rules definitions. To provide a Suricata rule string, provide the complete, Suricata compatible rule.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can provide the rules from a file that you've stored in an Amazon S3 bucket, or by providing the rules in a Suricata rules string. To import from Amazon S3, provide the fully qualified name of the file that contains the rules definitions. To provide a Suricata rule string, provide the complete, Suricata compatible rule.
public RulesSource withRulesString(String rulesString)
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can provide the rules from a file that you've stored in an Amazon S3 bucket, or by providing the rules in a Suricata rules string. To import from Amazon S3, provide the fully qualified name of the file that contains the rules definitions. To provide a Suricata rule string, provide the complete, Suricata compatible rule.
rulesString
- Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
Suricata is an open-source network IPS that includes a standard rule-based language for network traffic
inspection.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can provide the rules from a file that you've stored in an Amazon S3 bucket, or by providing the rules in a Suricata rules string. To import from Amazon S3, provide the fully qualified name of the file that contains the rules definitions. To provide a Suricata rule string, provide the complete, Suricata compatible rule.
public void setRulesSourceList(RulesSourceList rulesSourceList)
Stateful inspection criteria for a domain list rule group.
rulesSourceList
- Stateful inspection criteria for a domain list rule group.public RulesSourceList getRulesSourceList()
Stateful inspection criteria for a domain list rule group.
public RulesSource withRulesSourceList(RulesSourceList rulesSourceList)
Stateful inspection criteria for a domain list rule group.
rulesSourceList
- Stateful inspection criteria for a domain list rule group.public List<StatefulRule> getStatefulRules()
The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to be used together in a stateful rule group.
public void setStatefulRules(Collection<StatefulRule> statefulRules)
The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to be used together in a stateful rule group.
statefulRules
- The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to
be used together in a stateful rule group.public RulesSource withStatefulRules(StatefulRule... statefulRules)
The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to be used together in a stateful rule group.
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
- The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to
be used together in a stateful rule group.public RulesSource withStatefulRules(Collection<StatefulRule> statefulRules)
The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to be used together in a stateful rule group.
statefulRules
- The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple stateful rules to
be used together in a stateful rule group.public void setStatelessRulesAndCustomActions(StatelessRulesAndCustomActions statelessRulesAndCustomActions)
Stateless inspection criteria to be used in a stateless rule group.
statelessRulesAndCustomActions
- Stateless inspection criteria to be used in a stateless rule group.public StatelessRulesAndCustomActions getStatelessRulesAndCustomActions()
Stateless inspection criteria to be used in a stateless rule group.
public RulesSource withStatelessRulesAndCustomActions(StatelessRulesAndCustomActions statelessRulesAndCustomActions)
Stateless inspection criteria to be used in a stateless rule group.
statelessRulesAndCustomActions
- Stateless inspection criteria to be used in a stateless rule group.public String toString()
toString
in class Object
Object.toString()
public RulesSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.