CopyableBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>
, SdkBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>
public static interface UpdateRecordsRequest.Builder extends CopyableBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateRecordsRequest.Builder |
clientContext(String clientContext) |
Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods.
|
UpdateRecordsRequest.Builder |
datasetName(String datasetName) |
A string of up to 128 characters.
|
UpdateRecordsRequest.Builder |
deviceId(String deviceId) |
The unique ID generated for this device by Cognito.
|
UpdateRecordsRequest.Builder |
identityId(String identityId) |
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
UpdateRecordsRequest.Builder |
identityPoolId(String identityPoolId) |
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
UpdateRecordsRequest.Builder |
recordPatches(Collection<RecordPatch> recordPatches) |
A list of patch operations.
|
UpdateRecordsRequest.Builder |
recordPatches(RecordPatch... recordPatches) |
A list of patch operations.
|
UpdateRecordsRequest.Builder |
syncSessionToken(String syncSessionToken) |
The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
|
copy
apply, build
UpdateRecordsRequest.Builder identityPoolId(String identityPoolId)
identityPoolId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.UpdateRecordsRequest.Builder identityId(String identityId)
identityId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.UpdateRecordsRequest.Builder datasetName(String datasetName)
datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash),
and '.' (dot).UpdateRecordsRequest.Builder deviceId(String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.UpdateRecordsRequest.Builder recordPatches(Collection<RecordPatch> recordPatches)
recordPatches
- A list of patch operations.UpdateRecordsRequest.Builder recordPatches(RecordPatch... recordPatches)
NOTE: This method appends the values to the existing list (if any). Use
#setRecordPatches(java.util.Collection)
or #withRecordPatches(java.util.Collection)
if you
want to override the existing values.
recordPatches
- A list of patch operations.UpdateRecordsRequest.Builder syncSessionToken(String syncSessionToken)
syncSessionToken
- The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.UpdateRecordsRequest.Builder clientContext(String clientContext)
clientContext
- Intended to supply a device ID that will populate the lastModifiedBy field referenced in other
methods. The ClientContext field is not yet implemented.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.