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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateRecordsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRecordsResultclone()booleanequals(Object obj)List<Record>getRecords()A list of records that have been updated.inthashCode()voidsetRecords(Collection<Record> records)A list of records that have been updated.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateRecordsResultwithRecords(Record... records)A list of records that have been updated.UpdateRecordsResultwithRecords(Collection<Record> records)A list of records that have been updated.
-
-
-
Method Detail
-
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)orwithRecords(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateRecordsResult clone()
-
-