public class IndexDocumentsResult extends Object implements Serializable
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 |
---|---|
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)
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 Object
Object.toString()
Copyright © 2014. All rights reserved.