@Deprecated public class SynonymOptionsStatus extends Object implements Serializable
The synonym options configured for this search domain and the current status of those options.
| Constructor and Description |
|---|
SynonymOptionsStatus()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getOptions()
Deprecated.
Maps terms to their synonyms, serialized as a JSON document.
|
OptionStatus |
getStatus()
Deprecated.
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
int |
hashCode()
Deprecated.
|
void |
setOptions(String options)
Deprecated.
Maps terms to their synonyms, serialized as a JSON document.
|
void |
setStatus(OptionStatus status)
Deprecated.
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
SynonymOptionsStatus |
withOptions(String options)
Deprecated.
Maps terms to their synonyms, serialized as a JSON document.
|
SynonymOptionsStatus |
withStatus(OptionStatus status)
Deprecated.
The status of an option, including when it was last updated and
whether it is actively in use for searches.
|
public String getOptions()
{ "synonyms": {"cat": ["feline",
"kitten"], "puppy": "dog"} }{ "synonyms": {"cat": ["feline",
"kitten"], "puppy": "dog"} }public void setOptions(String options)
{ "synonyms": {"cat": ["feline",
"kitten"], "puppy": "dog"} }options - Maps terms to their synonyms, serialized as a JSON document. The
document has a single object with one property "synonyms" whose value
is an object mapping terms to their synonyms. Each synonym is a simple
string or an array of strings. The maximum size of a stopwords
document is 100 KB. Example: { "synonyms": {"cat": ["feline",
"kitten"], "puppy": "dog"} }public SynonymOptionsStatus withOptions(String options)
{ "synonyms": {"cat": ["feline",
"kitten"], "puppy": "dog"} }
Returns a reference to this object so that method calls can be chained together.
options - Maps terms to their synonyms, serialized as a JSON document. The
document has a single object with one property "synonyms" whose value
is an object mapping terms to their synonyms. Each synonym is a simple
string or an array of strings. The maximum size of a stopwords
document is 100 KB. Example: { "synonyms": {"cat": ["feline",
"kitten"], "puppy": "dog"} }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 SynonymOptionsStatus 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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.