Interface UpdateRecordsRequest.Builder

    • Method Detail

      • 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

        UpdateRecordsRequest.Builder deviceId​(String 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.
      • 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.