|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudsearchv2.model.LiteralArrayOptions
public class LiteralArrayOptions
Options for a field that contains an array of literal strings.
Present if IndexFieldType
specifies the field is of type
literal-array
. All options are enabled by default.
Constructor Summary | |
---|---|
LiteralArrayOptions()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDefaultValue()
A value to use for the field if the field isn't specified for a document. |
Boolean |
getFacetEnabled()
Whether facet information can be returned for the field. |
Boolean |
getReturnEnabled()
Whether the contents of the field can be returned in the search results. |
Boolean |
getSearchEnabled()
Whether the contents of the field are searchable. |
String |
getSourceFields()
A list of source fields to map to the field. |
int |
hashCode()
|
Boolean |
isFacetEnabled()
Whether facet information can be returned for the field. |
Boolean |
isReturnEnabled()
Whether the contents of the field can be returned in the search results. |
Boolean |
isSearchEnabled()
Whether the contents of the field are searchable. |
void |
setDefaultValue(String defaultValue)
A value to use for the field if the field isn't specified for a document. |
void |
setFacetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field. |
void |
setReturnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results. |
void |
setSearchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable. |
void |
setSourceFields(String sourceFields)
A list of source fields to map to the field. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LiteralArrayOptions |
withDefaultValue(String defaultValue)
A value to use for the field if the field isn't specified for a document. |
LiteralArrayOptions |
withFacetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field. |
LiteralArrayOptions |
withReturnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results. |
LiteralArrayOptions |
withSearchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable. |
LiteralArrayOptions |
withSourceFields(String sourceFields)
A list of source fields to map to the field. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LiteralArrayOptions()
Method Detail |
---|
public String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue
- A value to use for the field if the field isn't specified for a
document.public LiteralArrayOptions withDefaultValue(String defaultValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
defaultValue
- A value to use for the field if the field isn't specified for a
document.
public String getSourceFields()
Constraints:
Pattern: \s*[a-z][a-z0-9_]*\s*(,\s*[a-z][a-z0-9_]*\s*)*
public void setSourceFields(String sourceFields)
Constraints:
Pattern: \s*[a-z][a-z0-9_]*\s*(,\s*[a-z][a-z0-9_]*\s*)*
sourceFields
- A list of source fields to map to the field.public LiteralArrayOptions withSourceFields(String sourceFields)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \s*[a-z][a-z0-9_]*\s*(,\s*[a-z][a-z0-9_]*\s*)*
sourceFields
- A list of source fields to map to the field.
public Boolean isFacetEnabled()
public void setFacetEnabled(Boolean facetEnabled)
facetEnabled
- Whether facet information can be returned for the field.public LiteralArrayOptions withFacetEnabled(Boolean facetEnabled)
Returns a reference to this object so that method calls can be chained together.
facetEnabled
- Whether facet information can be returned for the field.
public Boolean getFacetEnabled()
public Boolean isSearchEnabled()
public void setSearchEnabled(Boolean searchEnabled)
searchEnabled
- Whether the contents of the field are searchable.public LiteralArrayOptions withSearchEnabled(Boolean searchEnabled)
Returns a reference to this object so that method calls can be chained together.
searchEnabled
- Whether the contents of the field are searchable.
public Boolean getSearchEnabled()
public Boolean isReturnEnabled()
public void setReturnEnabled(Boolean returnEnabled)
returnEnabled
- Whether the contents of the field can be returned in the search
results.public LiteralArrayOptions withReturnEnabled(Boolean returnEnabled)
Returns a reference to this object so that method calls can be chained together.
returnEnabled
- Whether the contents of the field can be returned in the search
results.
public Boolean getReturnEnabled()
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 |