Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch.model
Class StemmingOptionsStatus

java.lang.Object
  extended by com.amazonaws.services.cloudsearch.model.StemmingOptionsStatus
All Implemented Interfaces:
Serializable

public class StemmingOptionsStatus
extends Object
implements Serializable

The stemming options configured for this search domain and the current status of those options.

See Also:
Serialized Form

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

StemmingOptionsStatus

public StemmingOptionsStatus()
Method Detail

getOptions

public String getOptions()
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"} }

Returns:
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"} }

setOptions

public void setOptions(String 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"} }

Parameters:
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"} }

withOptions

public StemmingOptionsStatus withOptions(String 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"} }

Returns a reference to this object so that method calls can be chained together.

Parameters:
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"} }
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public OptionStatus getStatus()
The status of an option, including when it was last updated and whether it is actively in use for searches.

Returns:
The status of an option, including when it was last updated and whether it is actively in use for searches.

setStatus

public void setStatus(OptionStatus status)
The status of an option, including when it was last updated and whether it is actively in use for searches.

Parameters:
status - The status of an option, including when it was last updated and whether it is actively in use for searches.

withStatus

public StemmingOptionsStatus withStatus(OptionStatus status)
The status of an option, including when it was last updated and whether it is actively in use for searches.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The status of an option, including when it was last updated and whether it is actively in use for searches.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.