Class IndexDocumentsResult
- java.lang.Object
-
- com.amazonaws.services.cloudsearchv2.model.IndexDocumentsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexDocumentsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... fieldNames)
The names of the fields that are currently being indexed.IndexDocumentsResult
withFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
-
-
-
Method Detail
-
getFieldNames
public List<String> getFieldNames()
The names of the fields that are currently being indexed.
- Returns:
- The names of the fields that are currently being indexed.
-
setFieldNames
public void setFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
- Parameters:
fieldNames
- The names of the fields that are currently being indexed.
-
withFieldNames
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)
orwithFieldNames(java.util.Collection)
if you want to override the existing values.- Parameters:
fieldNames
- The names of the fields that are currently being indexed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFieldNames
public IndexDocumentsResult withFieldNames(Collection<String> fieldNames)
The names of the fields that are currently being indexed.
- Parameters:
fieldNames
- The names of the fields that are currently being indexed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IndexDocumentsResult clone()
-
-