public static interface UpdateRecordsRequest.Builder extends CognitoSyncRequest.Builder, CopyableBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>
Modifier and Type | Method and 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateRecordsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateRecordsRequest.Builder |
recordPatches(Collection<RecordPatch> recordPatches)
A list of patch operations.
|
UpdateRecordsRequest.Builder |
recordPatches(Consumer<RecordPatch.Builder>... 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.
|
build
overrideConfiguration
copy
applyMutation, 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)
recordPatches
- A list of patch operations.UpdateRecordsRequest.Builder recordPatches(Consumer<RecordPatch.Builder>... recordPatches)
.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #recordPatches(List)
.recordPatches
- a consumer that will call methods on List.Builder
#recordPatches(List)
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.UpdateRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.