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