Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch.model
Class IndexFieldStatus

java.lang.Object
  extended by com.amazonaws.services.cloudsearch.model.IndexFieldStatus

public class IndexFieldStatus
extends Object

The value of an IndexField and its current status.


Constructor Summary
IndexFieldStatus()
           
 
Method Summary
 boolean equals(Object obj)
           
 IndexField getOptions()
          Defines a field in the index, including its name, type, and the source of its data.
 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(IndexField options)
          Defines a field in the index, including its name, type, and the source of its data.
 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.
 IndexFieldStatus withOptions(IndexField options)
          Defines a field in the index, including its name, type, and the source of its data.
 IndexFieldStatus 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

IndexFieldStatus

public IndexFieldStatus()
Method Detail

getOptions

public IndexField getOptions()
Defines a field in the index, including its name, type, and the source of its data. The IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the IndexFieldType.

Returns:
Defines a field in the index, including its name, type, and the source of its data. The IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the IndexFieldType.

setOptions

public void setOptions(IndexField options)
Defines a field in the index, including its name, type, and the source of its data. The IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the IndexFieldType.

Parameters:
options - Defines a field in the index, including its name, type, and the source of its data. The IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the IndexFieldType.

withOptions

public IndexFieldStatus withOptions(IndexField options)
Defines a field in the index, including its name, type, and the source of its data. The IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the IndexFieldType.

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

Parameters:
options - Defines a field in the index, including its name, type, and the source of its data. The IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the IndexFieldType.
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 IndexFieldStatus 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.