@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DoubleArrayOptions extends Object implements Serializable, Cloneable
Options for a field that contains an array of double-precision 64-bit floating point values. Present if
IndexFieldType
specifies the field is of type double-array
. All options are enabled by
default.
Constructor and Description |
---|
DoubleArrayOptions() |
Modifier and Type | Method and Description |
---|---|
DoubleArrayOptions |
clone() |
boolean |
equals(Object obj) |
Double |
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(Double 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.
|
DoubleArrayOptions |
withDefaultValue(Double defaultValue)
A value to use for the field if the field isn't specified for a document.
|
DoubleArrayOptions |
withFacetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
|
DoubleArrayOptions |
withReturnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
|
DoubleArrayOptions |
withSearchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
|
DoubleArrayOptions |
withSourceFields(String sourceFields)
A list of source fields to map to the field.
|
public void setDefaultValue(Double defaultValue)
defaultValue
- A value to use for the field if the field isn't specified for a document.public Double getDefaultValue()
public DoubleArrayOptions withDefaultValue(Double defaultValue)
defaultValue
- A value to use for the field if the field isn't specified for a document.public void setSourceFields(String sourceFields)
A list of source fields to map to the field.
sourceFields
- A list of source fields to map to the field.public String getSourceFields()
A list of source fields to map to the field.
public DoubleArrayOptions withSourceFields(String sourceFields)
A list of source fields to map to the field.
sourceFields
- A list of source fields to map to the field.public void setFacetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
facetEnabled
- Whether facet information can be returned for the field.public Boolean getFacetEnabled()
Whether facet information can be returned for the field.
public DoubleArrayOptions withFacetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
facetEnabled
- Whether facet information can be returned for the field.public Boolean isFacetEnabled()
Whether facet information can be returned for the field.
public void setSearchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
searchEnabled
- Whether the contents of the field are searchable.public Boolean getSearchEnabled()
Whether the contents of the field are searchable.
public DoubleArrayOptions withSearchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
searchEnabled
- Whether the contents of the field are searchable.public Boolean isSearchEnabled()
Whether the contents of the field are searchable.
public void setReturnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
returnEnabled
- Whether the contents of the field can be returned in the search results.public Boolean getReturnEnabled()
Whether the contents of the field can be returned in the search results.
public DoubleArrayOptions withReturnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
returnEnabled
- Whether the contents of the field can be returned in the search results.public Boolean isReturnEnabled()
Whether the contents of the field can be returned in the search results.
public String toString()
toString
in class Object
Object.toString()
public DoubleArrayOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.