LiteralOptions instead.@Deprecated public class LiteralOptions extends Object implements Serializable
Options that define a literal field in the search index.
| Constructor and Description |
|---|
LiteralOptions()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDefaultValue()
Deprecated.
The default value for a literal field.
|
Boolean |
getFacetEnabled()
Deprecated.
Specifies whether facets are enabled for this field.
|
Boolean |
getResultEnabled()
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
Boolean |
getSearchEnabled()
Deprecated.
Specifies whether search is enabled for this field.
|
int |
hashCode()
Deprecated.
|
Boolean |
isFacetEnabled()
Deprecated.
Specifies whether facets are enabled for this field.
|
Boolean |
isResultEnabled()
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
Boolean |
isSearchEnabled()
Deprecated.
Specifies whether search is enabled for this field.
|
void |
setDefaultValue(String defaultValue)
Deprecated.
The default value for a literal field.
|
void |
setFacetEnabled(Boolean facetEnabled)
Deprecated.
Specifies whether facets are enabled for this field.
|
void |
setResultEnabled(Boolean resultEnabled)
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
void |
setSearchEnabled(Boolean searchEnabled)
Deprecated.
Specifies whether search is enabled for this field.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
LiteralOptions |
withDefaultValue(String defaultValue)
Deprecated.
The default value for a literal field.
|
LiteralOptions |
withFacetEnabled(Boolean facetEnabled)
Deprecated.
Specifies whether facets are enabled for this field.
|
LiteralOptions |
withResultEnabled(Boolean resultEnabled)
Deprecated.
Specifies whether values of this field can be returned in search
results and used for ranking.
|
LiteralOptions |
withSearchEnabled(Boolean searchEnabled)
Deprecated.
Specifies whether search is enabled for this field.
|
public String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue - The default value for a literal field. Optional.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. Optional.public Boolean isSearchEnabled()
public void setSearchEnabled(Boolean searchEnabled)
searchEnabled - Specifies whether search is enabled for this field. Default: False.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. Default: False.public Boolean getSearchEnabled()
public Boolean isFacetEnabled()
public void setFacetEnabled(Boolean facetEnabled)
facetEnabled - Specifies whether facets are enabled for this field. Default: False.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. Default: False.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. Default: False.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. Default: False.public Boolean getResultEnabled()
public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.