|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudsearch.model.StemmingOptionsStatus
public class StemmingOptionsStatus
The stemming options configured for this search domain and the current status of those options.
Constructor Summary | |
---|---|
StemmingOptionsStatus()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getOptions()
Maps terms to their stems, 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)
Maps terms to their stems, 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. |
StemmingOptionsStatus |
withOptions(String options)
Maps terms to their stems, serialized as a JSON document. |
StemmingOptionsStatus |
withStatus(OptionStatus status)
The status of an option, including when it was last updated and whether it is actively in use for searches. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StemmingOptionsStatus()
Method Detail |
---|
public String getOptions()
{ "stems": {"people": "person", "walking":
"walk"} }
{ "stems": {"people": "person", "walking":
"walk"} }
public void setOptions(String options)
{ "stems": {"people": "person", "walking":
"walk"} }
options
- Maps terms to their stems, serialized as a JSON document. The document
has a single object with one property "stems" whose value is an object
mapping terms to their stems. The maximum size of a stemming document
is 500KB. Example: { "stems": {"people": "person", "walking":
"walk"} }
public StemmingOptionsStatus withOptions(String options)
{ "stems": {"people": "person", "walking":
"walk"} }
Returns a reference to this object so that method calls can be chained together.
options
- Maps terms to their stems, serialized as a JSON document. The document
has a single object with one property "stems" whose value is an object
mapping terms to their stems. The maximum size of a stemming document
is 500KB. Example: { "stems": {"people": "person", "walking":
"walk"} }
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 StemmingOptionsStatus 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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |