Interface UpdateRecordsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CognitoSyncRequest.Builder, CopyableBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>, SdkBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateRecordsRequest

public static interface UpdateRecordsRequest.Builder extends CognitoSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateRecordsRequest.Builder,UpdateRecordsRequest>
  • Method Details

    • identityPoolId

      UpdateRecordsRequest.Builder identityPoolId(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityId

      UpdateRecordsRequest.Builder identityId(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetName

      UpdateRecordsRequest.Builder datasetName(String datasetName)
      A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
      Parameters:
      datasetName - A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceId

      The unique ID generated for this device by Cognito.

      Parameters:
      deviceId - The unique ID generated for this device by Cognito.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordPatches

      UpdateRecordsRequest.Builder recordPatches(Collection<RecordPatch> recordPatches)
      A list of patch operations.
      Parameters:
      recordPatches - A list of patch operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordPatches

      UpdateRecordsRequest.Builder recordPatches(RecordPatch... recordPatches)
      A list of patch operations.
      Parameters:
      recordPatches - A list of patch operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordPatches

      UpdateRecordsRequest.Builder recordPatches(Consumer<RecordPatch.Builder>... recordPatches)
      A list of patch operations. This is a convenience method that creates an instance of the RecordPatch.Builder avoiding the need to create one manually via RecordPatch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recordPatches(List<RecordPatch>).

      Parameters:
      recordPatches - a consumer that will call methods on RecordPatch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • syncSessionToken

      UpdateRecordsRequest.Builder syncSessionToken(String syncSessionToken)
      The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
      Parameters:
      syncSessionToken - The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientContext

      UpdateRecordsRequest.Builder clientContext(String clientContext)
      Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
      Parameters:
      clientContext - Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.