Interface DataDeletionJob.Builder

    • Method Detail

      • jobName

        DataDeletionJob.Builder jobName​(String jobName)

        The name of the data deletion job.

        Parameters:
        jobName - The name of the data deletion job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataDeletionJobArn

        DataDeletionJob.Builder dataDeletionJobArn​(String dataDeletionJobArn)

        The Amazon Resource Name (ARN) of the data deletion job.

        Parameters:
        dataDeletionJobArn - The Amazon Resource Name (ARN) of the data deletion job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetGroupArn

        DataDeletionJob.Builder datasetGroupArn​(String datasetGroupArn)

        The Amazon Resource Name (ARN) of the dataset group the job deletes records from.

        Parameters:
        datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group the job deletes records from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSource

        DataDeletionJob.Builder dataSource​(DataSource dataSource)
        Sets the value of the DataSource property for this object.
        Parameters:
        dataSource - The new value for the DataSource property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        DataDeletionJob.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DataDeletionJob.Builder status​(String status)

        The status of the data deletion job.

        A data deletion job can have one of the following statuses:

        • PENDING > IN_PROGRESS > COMPLETED -or- FAILED

        Parameters:
        status - The status of the data deletion job.

        A data deletion job can have one of the following statuses:

        • PENDING > IN_PROGRESS > COMPLETED -or- FAILED

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numDeleted

        DataDeletionJob.Builder numDeleted​(Integer numDeleted)

        The number of records deleted by a COMPLETED job.

        Parameters:
        numDeleted - The number of records deleted by a COMPLETED job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDateTime

        DataDeletionJob.Builder creationDateTime​(Instant creationDateTime)

        The creation date and time (in Unix time) of the data deletion job.

        Parameters:
        creationDateTime - The creation date and time (in Unix time) of the data deletion job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDateTime

        DataDeletionJob.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        The date and time (in Unix time) the data deletion job was last updated.

        Parameters:
        lastUpdatedDateTime - The date and time (in Unix time) the data deletion job was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReason

        DataDeletionJob.Builder failureReason​(String failureReason)

        If a data deletion job fails, provides the reason why.

        Parameters:
        failureReason - If a data deletion job fails, provides the reason why.
        Returns:
        Returns a reference to this object so that method calls can be chained together.