|
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.TextOptions
public class TextOptions
Options that define a text field in the search index.
Constructor Summary | |
---|---|
TextOptions()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDefaultValue()
The default value for a text field. |
Boolean |
getFacetEnabled()
Specifies whether facets are enabled for this field. |
Boolean |
getResultEnabled()
Specifies whether values of this field can be returned in search results and used for ranking. |
int |
hashCode()
|
Boolean |
isFacetEnabled()
Specifies whether facets are enabled for this field. |
Boolean |
isResultEnabled()
Specifies whether values of this field can be returned in search results and used for ranking. |
void |
setDefaultValue(String defaultValue)
The default value for a text field. |
void |
setFacetEnabled(Boolean facetEnabled)
Specifies whether facets are enabled for this field. |
void |
setResultEnabled(Boolean resultEnabled)
Specifies whether values of this field can be returned in search results and used for ranking. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TextOptions |
withDefaultValue(String defaultValue)
The default value for a text field. |
TextOptions |
withFacetEnabled(Boolean facetEnabled)
Specifies whether facets are enabled for this field. |
TextOptions |
withResultEnabled(Boolean resultEnabled)
Specifies whether values of this field can be returned in search results and used for ranking. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextOptions()
Method Detail |
---|
public String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue
- The default value for a text field.public TextOptions withDefaultValue(String defaultValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
defaultValue
- The default value for a text field.
public Boolean isFacetEnabled()
public void setFacetEnabled(Boolean facetEnabled)
facetEnabled
- Specifies whether facets are enabled for this field.public TextOptions withFacetEnabled(Boolean facetEnabled)
Returns a reference to this object so that method calls can be chained together.
facetEnabled
- Specifies whether facets are enabled for this field.
public Boolean getFacetEnabled()
public Boolean isResultEnabled()
public void setResultEnabled(Boolean resultEnabled)
resultEnabled
- Specifies whether values of this field can be returned in search
results and used for ranking.public TextOptions withResultEnabled(Boolean resultEnabled)
Returns a reference to this object so that method calls can be chained together.
resultEnabled
- Specifies whether values of this field can be returned in search
results and used for ranking.
public Boolean getResultEnabled()
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 |