Interface DataDeletionJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataDeletionJob.Builder,
,DataDeletionJob> SdkBuilder<DataDeletionJob.Builder,
,DataDeletionJob> SdkPojo
- Enclosing class:
DataDeletionJob
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The creation date and time (in Unix time) of the data deletion job.dataDeletionJobArn
(String dataDeletionJobArn) The Amazon Resource Name (ARN) of the data deletion job.datasetGroupArn
(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group the job deletes records from.default DataDeletionJob.Builder
dataSource
(Consumer<DataSource.Builder> dataSource) Sets the value of the DataSource property for this object.dataSource
(DataSource dataSource) Sets the value of the DataSource property for this object.failureReason
(String failureReason) If a data deletion job fails, provides the reason why.The name of the data deletion job.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time (in Unix time) the data deletion job was last updated.numDeleted
(Integer numDeleted) The number of records deleted by a COMPLETED job.The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.The status of the data deletion job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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.
-
dataSource
Sets the value of the DataSource property for this object. This is a convenience method that creates an instance of theDataSource.Builder
avoiding the need to create one manually viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSource(DataSource)
.- Parameters:
dataSource
- a consumer that will call methods onDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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.
-