public class IndexDocumentsResult extends Object implements Serializable, Cloneable
The result of an IndexDocuments
request. Contains the status of
the indexing operation, including the fields being indexed.
Constructor and Description |
---|
IndexDocumentsResult() |
Modifier and Type | Method and Description |
---|---|
IndexDocumentsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFieldNames()
The names of the fields that are currently being indexed.
|
int |
hashCode() |
void |
setFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IndexDocumentsResult |
withFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
|
IndexDocumentsResult |
withFieldNames(String... fieldNames)
The names of the fields that are currently being indexed.
|
public List<String> getFieldNames()
The names of the fields that are currently being indexed.
public void setFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
fieldNames
- The names of the fields that are currently being indexed.public IndexDocumentsResult withFieldNames(String... fieldNames)
The names of the fields that are currently being indexed.
NOTE: This method appends the values to the existing list (if
any). Use setFieldNames(java.util.Collection)
or
withFieldNames(java.util.Collection)
if you want to override the
existing values.
fieldNames
- The names of the fields that are currently being indexed.public IndexDocumentsResult withFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
fieldNames
- The names of the fields that are currently being indexed.public String toString()
toString
in class Object
Object.toString()
public IndexDocumentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.