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