Class UpdateRecordsRequest

    • Constructor Detail

      • UpdateRecordsRequest

        public UpdateRecordsRequest()
    • Method Detail

      • setIdentityPoolId

        public void setIdentityPoolId​(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.
      • getIdentityPoolId

        public String getIdentityPoolId()
        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:
        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.
      • withIdentityPoolId

        public UpdateRecordsRequest withIdentityPoolId​(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.
      • setIdentityId

        public void setIdentityId​(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.
      • getIdentityId

        public String getIdentityId()
        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:
        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.
      • withIdentityId

        public UpdateRecordsRequest withIdentityId​(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.
      • setDatasetName

        public void setDatasetName​(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).
      • getDatasetName

        public String getDatasetName()
        A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
        Returns:
        A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
      • withDatasetName

        public UpdateRecordsRequest withDatasetName​(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.
      • setDeviceId

        public void setDeviceId​(String deviceId)

        The unique ID generated for this device by Cognito.

        Parameters:
        deviceId - The unique ID generated for this device by Cognito.
      • getDeviceId

        public String getDeviceId()

        The unique ID generated for this device by Cognito.

        Returns:
        The unique ID generated for this device by Cognito.
      • withDeviceId

        public UpdateRecordsRequest withDeviceId​(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.
      • getRecordPatches

        public List<RecordPatch> getRecordPatches()
        A list of patch operations.
        Returns:
        A list of patch operations.
      • setRecordPatches

        public void setRecordPatches​(Collection<RecordPatch> recordPatches)
        A list of patch operations.
        Parameters:
        recordPatches - A list of patch operations.
      • withRecordPatches

        public UpdateRecordsRequest withRecordPatches​(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.
      • setSyncSessionToken

        public void setSyncSessionToken​(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.
      • getSyncSessionToken

        public String getSyncSessionToken()
        The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
        Returns:
        The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
      • withSyncSessionToken

        public UpdateRecordsRequest withSyncSessionToken​(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.
      • setClientContext

        public void setClientContext​(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.
      • getClientContext

        public String getClientContext()
        Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
        Returns:
        Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
      • withClientContext

        public UpdateRecordsRequest withClientContext​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object