Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch.model
Class DefaultSearchFieldStatus

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

public class DefaultSearchFieldStatus
extends java.lang.Object

The value of the DefaultSearchField configured for this search domain and its current status.


Constructor Summary
DefaultSearchFieldStatus()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getOptions()
          The name of the IndexField to use as the default search field.
 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(java.lang.String options)
          The name of the IndexField to use as the default search field.
 void setStatus(OptionStatus status)
          The status of an option, including when it was last updated and whether it is actively in use for searches.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DefaultSearchFieldStatus withOptions(java.lang.String options)
          The name of the IndexField to use as the default search field.
 DefaultSearchFieldStatus 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

DefaultSearchFieldStatus

public DefaultSearchFieldStatus()
Method Detail

getOptions

public java.lang.String getOptions()
The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.

Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*

Returns:
The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.

setOptions

public void setOptions(java.lang.String options)
The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.

Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*

Parameters:
options - The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.

withOptions

public DefaultSearchFieldStatus withOptions(java.lang.String options)
The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.

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

Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*

Parameters:
options - The name of the IndexField to use as the default search field. The default is an empty string, which automatically searches all text fields.
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 DefaultSearchFieldStatus 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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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