public class IndexDocumentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The result of an IndexDocuments
request. Contains the status of
the indexing operation, including the fields being indexed.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
fieldNames
The names of the fields that are currently being indexed.
|
Constructor and Description |
---|
IndexDocumentsResult() |
Modifier and Type | Method and Description |
---|---|
IndexDocumentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getFieldNames()
The names of the fields that are currently being indexed.
|
int |
hashCode() |
void |
setFieldNames(java.util.Collection<java.lang.String> fieldNames)
The names of the fields that are currently being indexed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IndexDocumentsResult |
withFieldNames(java.util.Collection<java.lang.String> fieldNames)
The names of the fields that are currently being indexed.
|
IndexDocumentsResult |
withFieldNames(java.lang.String... fieldNames)
The names of the fields that are currently being indexed.
|
private SdkInternalList<java.lang.String> fieldNames
The names of the fields that are currently being indexed.
public java.util.List<java.lang.String> getFieldNames()
The names of the fields that are currently being indexed.
public void setFieldNames(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.String> fieldNames)
The names of the fields that are currently being indexed.
fieldNames
- The names of the fields that are currently being indexed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IndexDocumentsResult clone()
clone
in class java.lang.Object