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:
  • Constructor Details

    • IndexDocumentsResult

      public IndexDocumentsResult()
  • Method Details

    • 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) or withFieldNames(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public IndexDocumentsResult clone()
      Overrides:
      clone in class Object