Class ListRecordsResult

    • Constructor Detail

      • ListRecordsResult

        public ListRecordsResult()
    • Method Detail

      • getRecords

        public List<Record> getRecords()
        A list of all records.
        Returns:
        A list of all records.
      • setRecords

        public void setRecords​(Collection<Record> records)
        A list of all records.
        Parameters:
        records - A list of all records.
      • withRecords

        public ListRecordsResult withRecords​(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.
      • setNextToken

        public void setNextToken​(String nextToken)
        A pagination token for obtaining the next page of results.
        Parameters:
        nextToken - A pagination token for obtaining the next page of results.
      • getNextToken

        public String getNextToken()
        A pagination token for obtaining the next page of results.
        Returns:
        A pagination token for obtaining the next page of results.
      • withNextToken

        public ListRecordsResult withNextToken​(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.
      • setCount

        public void setCount​(Integer count)
        Total number of records.
        Parameters:
        count - Total number of records.
      • getCount

        public Integer getCount()
        Total number of records.
        Returns:
        Total number of records.
      • withCount

        public ListRecordsResult withCount​(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.
      • setDatasetSyncCount

        public void setDatasetSyncCount​(Long datasetSyncCount)
        Server sync count for this dataset.
        Parameters:
        datasetSyncCount - Server sync count for this dataset.
      • getDatasetSyncCount

        public Long getDatasetSyncCount()
        Server sync count for this dataset.
        Returns:
        Server sync count for this dataset.
      • withDatasetSyncCount

        public ListRecordsResult withDatasetSyncCount​(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.
      • setLastModifiedBy

        public void setLastModifiedBy​(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.
      • getLastModifiedBy

        public String getLastModifiedBy()
        The user/device that made the last change to this record.
        Returns:
        The user/device that made the last change to this record.
      • withLastModifiedBy

        public ListRecordsResult withLastModifiedBy​(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.
      • getMergedDatasetNames

        public List<String> getMergedDatasetNames()
        Names of merged datasets.
        Returns:
        Names of merged datasets.
      • setMergedDatasetNames

        public void setMergedDatasetNames​(Collection<String> mergedDatasetNames)
        Names of merged datasets.
        Parameters:
        mergedDatasetNames - Names of merged datasets.
      • withMergedDatasetNames

        public ListRecordsResult withMergedDatasetNames​(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.
      • setDatasetExists

        public void setDatasetExists​(Boolean datasetExists)
        Indicates whether the dataset exists.
        Parameters:
        datasetExists - Indicates whether the dataset exists.
      • getDatasetExists

        public Boolean getDatasetExists()
        Indicates whether the dataset exists.
        Returns:
        Indicates whether the dataset exists.
      • withDatasetExists

        public ListRecordsResult withDatasetExists​(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.
      • isDatasetExists

        public Boolean isDatasetExists()
        Indicates whether the dataset exists.
        Returns:
        Indicates whether the dataset exists.
      • setDatasetDeletedAfterRequestedSyncCount

        public void setDatasetDeletedAfterRequestedSyncCount​(Boolean datasetDeletedAfterRequestedSyncCount)
        A boolean value specifying whether to delete the dataset locally.
        Parameters:
        datasetDeletedAfterRequestedSyncCount - A boolean value specifying whether to delete the dataset locally.
      • getDatasetDeletedAfterRequestedSyncCount

        public Boolean getDatasetDeletedAfterRequestedSyncCount()
        A boolean value specifying whether to delete the dataset locally.
        Returns:
        A boolean value specifying whether to delete the dataset locally.
      • withDatasetDeletedAfterRequestedSyncCount

        public ListRecordsResult withDatasetDeletedAfterRequestedSyncCount​(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.
      • isDatasetDeletedAfterRequestedSyncCount

        public Boolean isDatasetDeletedAfterRequestedSyncCount()
        A boolean value specifying whether to delete the dataset locally.
        Returns:
        A boolean value specifying whether to delete the dataset locally.
      • setSyncSessionToken

        public void setSyncSessionToken​(String syncSessionToken)
        A token containing a session ID, identity ID, and expiration.
        Parameters:
        syncSessionToken - A token containing a session ID, identity ID, and expiration.
      • getSyncSessionToken

        public String getSyncSessionToken()
        A token containing a session ID, identity ID, and expiration.
        Returns:
        A token containing a session ID, identity ID, and expiration.
      • withSyncSessionToken

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