@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceStatefulRulesOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A rule option for a stateful rule.
| Constructor and Description |
|---|
RuleGroupSourceStatefulRulesOptionsDetails() |
| Modifier and Type | Method and Description |
|---|---|
RuleGroupSourceStatefulRulesOptionsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getKeyword()
A keyword to look for.
|
List<String> |
getSettings()
A list of settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKeyword(String keyword)
A keyword to look for.
|
void |
setSettings(Collection<String> settings)
A list of settings.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSourceStatefulRulesOptionsDetails |
withKeyword(String keyword)
A keyword to look for.
|
RuleGroupSourceStatefulRulesOptionsDetails |
withSettings(Collection<String> settings)
A list of settings.
|
RuleGroupSourceStatefulRulesOptionsDetails |
withSettings(String... settings)
A list of settings.
|
public RuleGroupSourceStatefulRulesOptionsDetails()
public void setKeyword(String keyword)
A keyword to look for.
keyword - A keyword to look for.public String getKeyword()
A keyword to look for.
public RuleGroupSourceStatefulRulesOptionsDetails withKeyword(String keyword)
A keyword to look for.
keyword - A keyword to look for.public void setSettings(Collection<String> settings)
A list of settings.
settings - A list of settings.public RuleGroupSourceStatefulRulesOptionsDetails withSettings(String... settings)
A list of settings.
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 - A list of settings.public RuleGroupSourceStatefulRulesOptionsDetails withSettings(Collection<String> settings)
A list of settings.
settings - A list of settings.public String toString()
toString in class ObjectObject.toString()public RuleGroupSourceStatefulRulesOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.