public class TextArrayOptions extends Object implements Serializable, Cloneable
 Options for a field that contains an array of text strings. Present if
 IndexFieldType specifies the field is of type
 text-array. A text-array field is always
 searchable. All options are enabled by default.
 
| Constructor and Description | 
|---|
| TextArrayOptions() | 
| Modifier and Type | Method and Description | 
|---|---|
| TextArrayOptions | clone() | 
| boolean | equals(Object obj) | 
| String | getAnalysisScheme()
 The name of an analysis scheme for a  text-arrayfield. | 
| String | getDefaultValue()A value to use for the field if the field isn't specified for a document. | 
| Boolean | getHighlightEnabled()
 Whether highlights can be returned for the field. | 
| Boolean | getReturnEnabled()
 Whether the contents of the field can be returned in the search results. | 
| String | getSourceFields()
 A list of source fields to map to the field. | 
| int | hashCode() | 
| Boolean | isHighlightEnabled()
 Whether highlights can be returned for the field. | 
| Boolean | isReturnEnabled()
 Whether the contents of the field can be returned in the search results. | 
| void | setAnalysisScheme(String analysisScheme)
 The name of an analysis scheme for a  text-arrayfield. | 
| void | setDefaultValue(String defaultValue)A value to use for the field if the field isn't specified for a document. | 
| void | setHighlightEnabled(Boolean highlightEnabled)
 Whether highlights can be returned for the field. | 
| void | setReturnEnabled(Boolean returnEnabled)
 Whether the contents of the field can be returned in the search results. | 
| 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. | 
| TextArrayOptions | withAnalysisScheme(String analysisScheme)
 The name of an analysis scheme for a  text-arrayfield. | 
| TextArrayOptions | withDefaultValue(String defaultValue)A value to use for the field if the field isn't specified for a document. | 
| TextArrayOptions | withHighlightEnabled(Boolean highlightEnabled)
 Whether highlights can be returned for the field. | 
| TextArrayOptions | withReturnEnabled(Boolean returnEnabled)
 Whether the contents of the field can be returned in the search results. | 
| TextArrayOptions | withSourceFields(String sourceFields)
 A list of source fields to map to the field. | 
public void setDefaultValue(String defaultValue)
defaultValue - A value to use for the field if the field isn't specified for a
        document.public String getDefaultValue()
public TextArrayOptions withDefaultValue(String 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 TextArrayOptions 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 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 TextArrayOptions 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 void setHighlightEnabled(Boolean highlightEnabled)
Whether highlights can be returned for the field.
highlightEnabled - Whether highlights can be returned for the field.public Boolean getHighlightEnabled()
Whether highlights can be returned for the field.
public TextArrayOptions withHighlightEnabled(Boolean highlightEnabled)
Whether highlights can be returned for the field.
highlightEnabled - Whether highlights can be returned for the field.public Boolean isHighlightEnabled()
Whether highlights can be returned for the field.
public void setAnalysisScheme(String analysisScheme)
 The name of an analysis scheme for a text-array field.
 
analysisScheme - The name of an analysis scheme for a text-array
        field.public String getAnalysisScheme()
 The name of an analysis scheme for a text-array field.
 
text-array
         field.public TextArrayOptions withAnalysisScheme(String analysisScheme)
 The name of an analysis scheme for a text-array field.
 
analysisScheme - The name of an analysis scheme for a text-array
        field.public String toString()
toString in class ObjectObject.toString()public TextArrayOptions clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.