Interface ListRecordsResponse.Builder

    • Method Detail

      • records

        ListRecordsResponse.Builder records​(Collection<Record> records)
        A list of all records.
        Parameters:
        records - A list of all records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • records

        ListRecordsResponse.Builder records​(Record... records)
        A list of all records.
        Parameters:
        records - A list of all records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListRecordsResponse.Builder nextToken​(String nextToken)
        A pagination token for obtaining the next page of results.
        Parameters:
        nextToken - A pagination token for obtaining the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        ListRecordsResponse.Builder count​(Integer count)
        Total number of records.
        Parameters:
        count - Total number of records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetSyncCount

        ListRecordsResponse.Builder datasetSyncCount​(Long datasetSyncCount)
        Server sync count for this dataset.
        Parameters:
        datasetSyncCount - Server sync count for this dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        ListRecordsResponse.Builder lastModifiedBy​(String lastModifiedBy)
        The user/device that made the last change to this record.
        Parameters:
        lastModifiedBy - The user/device that made the last change to this record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mergedDatasetNames

        ListRecordsResponse.Builder mergedDatasetNames​(Collection<String> mergedDatasetNames)
        Names of merged datasets.
        Parameters:
        mergedDatasetNames - Names of merged datasets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mergedDatasetNames

        ListRecordsResponse.Builder mergedDatasetNames​(String... mergedDatasetNames)
        Names of merged datasets.
        Parameters:
        mergedDatasetNames - Names of merged datasets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetExists

        ListRecordsResponse.Builder datasetExists​(Boolean datasetExists)
        Indicates whether the dataset exists.
        Parameters:
        datasetExists - Indicates whether the dataset exists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetDeletedAfterRequestedSyncCount

        ListRecordsResponse.Builder datasetDeletedAfterRequestedSyncCount​(Boolean datasetDeletedAfterRequestedSyncCount)
        A boolean value specifying whether to delete the dataset locally.
        Parameters:
        datasetDeletedAfterRequestedSyncCount - A boolean value specifying whether to delete the dataset locally.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • syncSessionToken

        ListRecordsResponse.Builder syncSessionToken​(String syncSessionToken)
        A token containing a session ID, identity ID, and expiration.
        Parameters:
        syncSessionToken - A token containing a session ID, identity ID, and expiration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.