public class StopwordOptionsStatus extends Object implements Serializable
The stopword options configured for this search domain and the current status of those options.
Constructor and Description |
---|
StopwordOptionsStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getOptions()
Lists stopwords serialized as a JSON document.
|
OptionStatus |
getStatus()
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
int |
hashCode() |
void |
setOptions(String options)
Lists stopwords serialized as a JSON document.
|
void |
setStatus(OptionStatus status)
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopwordOptionsStatus |
withOptions(String options)
Lists stopwords serialized as a JSON document.
|
StopwordOptionsStatus |
withStatus(OptionStatus status)
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
public String getOptions()
{ "stopwords": ["a", "an", "the", "of"] }
{ "stopwords": ["a", "an", "the", "of"] }
public void setOptions(String options)
{ "stopwords": ["a", "an", "the", "of"] }
options
- Lists stopwords serialized as a JSON document. The document has a
single object with one property "stopwords" whose value is an array of
strings. The maximum size of a stopwords document is 10 KB. Example:
{ "stopwords": ["a", "an", "the", "of"] }
public StopwordOptionsStatus withOptions(String options)
{ "stopwords": ["a", "an", "the", "of"] }
Returns a reference to this object so that method calls can be chained together.
options
- Lists stopwords serialized as a JSON document. The document has a
single object with one property "stopwords" whose value is an array of
strings. The maximum size of a stopwords document is 10 KB. Example:
{ "stopwords": ["a", "an", "the", "of"] }
public OptionStatus getStatus()
public void setStatus(OptionStatus status)
status
- The status of an option, including when it was last updated and
whether it is actively in use for searches.public StopwordOptionsStatus withStatus(OptionStatus status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of an option, including when it was last updated and
whether it is actively in use for searches.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.