Class UpdateRecordsResult

java.lang.Object
com.amazonaws.services.cognitosync.model.UpdateRecordsResult
All Implemented Interfaces:
Serializable, Cloneable

public class UpdateRecordsResult extends Object implements Serializable, Cloneable
Returned for a successful UpdateRecordsRequest.
See Also:
  • Constructor Details

    • UpdateRecordsResult

      public UpdateRecordsResult()
  • Method Details

    • getRecords

      public List<Record> getRecords()
      A list of records that have been updated.
      Returns:
      A list of records that have been updated.
    • setRecords

      public void setRecords(Collection<Record> records)
      A list of records that have been updated.
      Parameters:
      records - A list of records that have been updated.
    • withRecords

      public UpdateRecordsResult withRecords(Record... records)
      A list of records that have been updated.

      NOTE: This method appends the values to the existing list (if any). Use setRecords(java.util.Collection) or withRecords(java.util.Collection) if you want to override the existing values.

      Parameters:
      records - A list of records that have been updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRecords

      public UpdateRecordsResult withRecords(Collection<Record> records)
      A list of records that have been updated.
      Parameters:
      records - A list of records that have been updated.
      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 UpdateRecordsResult clone()
      Overrides:
      clone in class Object