@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleOption extends Object implements Serializable, Cloneable
Describes additional settings for a stateful rule.
Constructor and Description |
---|
RuleOption() |
Modifier and Type | Method and Description |
---|---|
RuleOption |
clone() |
boolean |
equals(Object obj) |
String |
getKeyword()
The Suricata keyword.
|
List<String> |
getSettings()
The settings for the keyword.
|
int |
hashCode() |
void |
setKeyword(String keyword)
The Suricata keyword.
|
void |
setSettings(Collection<String> settings)
The settings for the keyword.
|
String |
toString()
Returns a string representation of this object.
|
RuleOption |
withKeyword(String keyword)
The Suricata keyword.
|
RuleOption |
withSettings(Collection<String> settings)
The settings for the keyword.
|
RuleOption |
withSettings(String... settings)
The settings for the keyword.
|
public void setKeyword(String keyword)
The Suricata keyword.
keyword
- The Suricata keyword.public String getKeyword()
The Suricata keyword.
public RuleOption withKeyword(String keyword)
The Suricata keyword.
keyword
- The Suricata keyword.public List<String> getSettings()
The settings for the keyword.
public void setSettings(Collection<String> settings)
The settings for the keyword.
settings
- The settings for the keyword.public RuleOption withSettings(String... settings)
The settings for the keyword.
NOTE: This method appends the values to the existing list (if any). Use
setSettings(java.util.Collection)
or withSettings(java.util.Collection)
if you want to override
the existing values.
settings
- The settings for the keyword.public RuleOption withSettings(Collection<String> settings)
The settings for the keyword.
settings
- The settings for the keyword.public String toString()
toString
in class Object
Object.toString()
public RuleOption clone()