@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecordsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecordsResult() |
Modifier and Type | Method and Description |
---|---|
ListRecordsResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
Total number of records.
|
Boolean |
getDatasetDeletedAfterRequestedSyncCount()
A boolean value specifying whether to delete the dataset locally.
|
Boolean |
getDatasetExists()
Indicates whether the dataset exists.
|
Long |
getDatasetSyncCount()
Server sync count for this dataset.
|
String |
getLastModifiedBy()
The user/device that made the last change to this record.
|
List<String> |
getMergedDatasetNames()
Names of merged datasets.
|
String |
getNextToken()
A pagination token for obtaining the next page of results.
|
List<Record> |
getRecords()
A list of all records.
|
String |
getSyncSessionToken()
A token containing a session ID, identity ID, and expiration.
|
int |
hashCode() |
Boolean |
isDatasetDeletedAfterRequestedSyncCount()
A boolean value specifying whether to delete the dataset locally.
|
Boolean |
isDatasetExists()
Indicates whether the dataset exists.
|
void |
setCount(Integer count)
Total number of records.
|
void |
setDatasetDeletedAfterRequestedSyncCount(Boolean datasetDeletedAfterRequestedSyncCount)
A boolean value specifying whether to delete the dataset locally.
|
void |
setDatasetExists(Boolean datasetExists)
Indicates whether the dataset exists.
|
void |
setDatasetSyncCount(Long datasetSyncCount)
Server sync count for this dataset.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user/device that made the last change to this record.
|
void |
setMergedDatasetNames(Collection<String> mergedDatasetNames)
Names of merged datasets.
|
void |
setNextToken(String nextToken)
A pagination token for obtaining the next page of results.
|
void |
setRecords(Collection<Record> records)
A list of all records.
|
void |
setSyncSessionToken(String syncSessionToken)
A token containing a session ID, identity ID, and expiration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListRecordsResult |
withCount(Integer count)
Total number of records.
|
ListRecordsResult |
withDatasetDeletedAfterRequestedSyncCount(Boolean datasetDeletedAfterRequestedSyncCount)
A boolean value specifying whether to delete the dataset locally.
|
ListRecordsResult |
withDatasetExists(Boolean datasetExists)
Indicates whether the dataset exists.
|
ListRecordsResult |
withDatasetSyncCount(Long datasetSyncCount)
Server sync count for this dataset.
|
ListRecordsResult |
withLastModifiedBy(String lastModifiedBy)
The user/device that made the last change to this record.
|
ListRecordsResult |
withMergedDatasetNames(Collection<String> mergedDatasetNames)
Names of merged datasets.
|
ListRecordsResult |
withMergedDatasetNames(String... mergedDatasetNames)
Names of merged datasets.
|
ListRecordsResult |
withNextToken(String nextToken)
A pagination token for obtaining the next page of results.
|
ListRecordsResult |
withRecords(Collection<Record> records)
A list of all records.
|
ListRecordsResult |
withRecords(Record... records)
A list of all records.
|
ListRecordsResult |
withSyncSessionToken(String syncSessionToken)
A token containing a session ID, identity ID, and expiration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRecords(Collection<Record> records)
records
- A list of all records.public ListRecordsResult withRecords(Record... records)
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.
records
- A list of all records.public ListRecordsResult withRecords(Collection<Record> records)
records
- A list of all records.public void setNextToken(String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public String getNextToken()
public ListRecordsResult withNextToken(String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public void setCount(Integer count)
count
- Total number of records.public Integer getCount()
public ListRecordsResult withCount(Integer count)
count
- Total number of records.public void setDatasetSyncCount(Long datasetSyncCount)
datasetSyncCount
- Server sync count for this dataset.public Long getDatasetSyncCount()
public ListRecordsResult withDatasetSyncCount(Long datasetSyncCount)
datasetSyncCount
- Server sync count for this dataset.public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The user/device that made the last change to this record.public String getLastModifiedBy()
public ListRecordsResult withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The user/device that made the last change to this record.public List<String> getMergedDatasetNames()
public void setMergedDatasetNames(Collection<String> mergedDatasetNames)
mergedDatasetNames
- Names of merged datasets.public ListRecordsResult withMergedDatasetNames(String... mergedDatasetNames)
NOTE: This method appends the values to the existing list (if any). Use
setMergedDatasetNames(java.util.Collection)
or withMergedDatasetNames(java.util.Collection)
if
you want to override the existing values.
mergedDatasetNames
- Names of merged datasets.public ListRecordsResult withMergedDatasetNames(Collection<String> mergedDatasetNames)
mergedDatasetNames
- Names of merged datasets.public void setDatasetExists(Boolean datasetExists)
datasetExists
- Indicates whether the dataset exists.public Boolean getDatasetExists()
public ListRecordsResult withDatasetExists(Boolean datasetExists)
datasetExists
- Indicates whether the dataset exists.public Boolean isDatasetExists()
public void setDatasetDeletedAfterRequestedSyncCount(Boolean datasetDeletedAfterRequestedSyncCount)
datasetDeletedAfterRequestedSyncCount
- A boolean value specifying whether to delete the dataset locally.public Boolean getDatasetDeletedAfterRequestedSyncCount()
public ListRecordsResult withDatasetDeletedAfterRequestedSyncCount(Boolean datasetDeletedAfterRequestedSyncCount)
datasetDeletedAfterRequestedSyncCount
- A boolean value specifying whether to delete the dataset locally.public Boolean isDatasetDeletedAfterRequestedSyncCount()
public void setSyncSessionToken(String syncSessionToken)
syncSessionToken
- A token containing a session ID, identity ID, and expiration.public String getSyncSessionToken()
public ListRecordsResult withSyncSessionToken(String syncSessionToken)
syncSessionToken
- A token containing a session ID, identity ID, and expiration.public String toString()
toString
in class Object
Object.toString()
public ListRecordsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.