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()
public void setFieldNames(Collection<String> fieldNames)
fieldNames - The names of the fields that are currently being indexed.public IndexDocumentsResult withFieldNames(String... fieldNames)
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.
Returns a reference to this object so that method calls can be chained together.
fieldNames - The names of the fields that are currently being indexed.public IndexDocumentsResult withFieldNames(Collection<String> fieldNames)
Returns a reference to this object so that method calls can be chained together.
fieldNames - The names of the fields that are currently being indexed.public String toString()
toString in class ObjectObject.toString()public IndexDocumentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.