Interface Dataset.Builder

    • Method Detail

      • identityId

        Dataset.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

        Dataset.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.
      • creationDate

        Dataset.Builder creationDate​(Instant creationDate)
        Date on which the dataset was created.
        Parameters:
        creationDate - Date on which the dataset was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        Dataset.Builder lastModifiedDate​(Instant lastModifiedDate)
        Date when the dataset was last modified.
        Parameters:
        lastModifiedDate - Date when the dataset was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        Dataset.Builder lastModifiedBy​(String lastModifiedBy)
        The device that made the last change to this dataset.
        Parameters:
        lastModifiedBy - The device that made the last change to this dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataStorage

        Dataset.Builder dataStorage​(Long dataStorage)
        Total size in bytes of the records in this dataset.
        Parameters:
        dataStorage - Total size in bytes of the records in this dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numRecords

        Dataset.Builder numRecords​(Long numRecords)
        Number of records in this dataset.
        Parameters:
        numRecords - Number of records in this dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.