CopyableBuilder<ListRecordsResponse.Builder,ListRecordsResponse>
, SdkBuilder<ListRecordsResponse.Builder,ListRecordsResponse>
public static interface ListRecordsResponse.Builder extends CopyableBuilder<ListRecordsResponse.Builder,ListRecordsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListRecordsResponse.Builder |
count(Integer count) |
Total number of records.
|
ListRecordsResponse.Builder |
datasetDeletedAfterRequestedSyncCount(Boolean datasetDeletedAfterRequestedSyncCount) |
A boolean value specifying whether to delete the dataset locally.
|
ListRecordsResponse.Builder |
datasetExists(Boolean datasetExists) |
Indicates whether the dataset exists.
|
ListRecordsResponse.Builder |
datasetSyncCount(Long datasetSyncCount) |
Server sync count for this dataset.
|
ListRecordsResponse.Builder |
lastModifiedBy(String lastModifiedBy) |
The user/device that made the last change to this record.
|
ListRecordsResponse.Builder |
mergedDatasetNames(String... mergedDatasetNames) |
Names of merged datasets.
|
ListRecordsResponse.Builder |
mergedDatasetNames(Collection<String> mergedDatasetNames) |
Names of merged datasets.
|
ListRecordsResponse.Builder |
nextToken(String nextToken) |
A pagination token for obtaining the next page of results.
|
ListRecordsResponse.Builder |
records(Collection<Record> records) |
A list of all records.
|
ListRecordsResponse.Builder |
records(Record... records) |
A list of all records.
|
ListRecordsResponse.Builder |
syncSessionToken(String syncSessionToken) |
A token containing a session ID, identity ID, and expiration.
|
copy
apply, build
ListRecordsResponse.Builder records(Collection<Record> records)
records
- A list of all records.ListRecordsResponse.Builder records(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.ListRecordsResponse.Builder nextToken(String nextToken)
nextToken
- A pagination token for obtaining the next page of results.ListRecordsResponse.Builder count(Integer count)
count
- Total number of records.ListRecordsResponse.Builder datasetSyncCount(Long datasetSyncCount)
datasetSyncCount
- Server sync count for this dataset.ListRecordsResponse.Builder lastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The user/device that made the last change to this record.ListRecordsResponse.Builder mergedDatasetNames(Collection<String> mergedDatasetNames)
mergedDatasetNames
- Names of merged datasets.ListRecordsResponse.Builder mergedDatasetNames(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.ListRecordsResponse.Builder datasetExists(Boolean datasetExists)
datasetExists
- Indicates whether the dataset exists.ListRecordsResponse.Builder datasetDeletedAfterRequestedSyncCount(Boolean datasetDeletedAfterRequestedSyncCount)
datasetDeletedAfterRequestedSyncCount
- A boolean value specifying whether to delete the dataset locally.ListRecordsResponse.Builder syncSessionToken(String syncSessionToken)
syncSessionToken
- A token containing a session ID, identity ID, and expiration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.