Interface CreateDataDeletionJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDataDeletionJobRequest.Builder,
,CreateDataDeletionJobRequest> PersonalizeRequest.Builder
,SdkBuilder<CreateDataDeletionJobRequest.Builder,
,CreateDataDeletionJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDataDeletionJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatasetGroupArn
(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.dataSource
(Consumer<DataSource.Builder> dataSource) The Amazon S3 bucket that contains the list of userIds of the users to delete.dataSource
(DataSource dataSource) The Amazon S3 bucket that contains the list of userIds of the users to delete.The name for the data deletion job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.tags
(Collection<Tag> tags) A list of tags to apply to the data deletion job.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the data deletion job.A list of tags to apply to the data deletion job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
build
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 for the data deletion job.
- Parameters:
jobName
- The name for 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 that has the datasets you want to delete records from.
- Parameters:
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The Amazon S3 bucket that contains the list of userIds of the users to delete.
- Parameters:
dataSource
- The Amazon S3 bucket that contains the list of userIds of the users to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The Amazon S3 bucket that contains the list of userIds of the users to delete.
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.
-
tags
A list of tags to apply to the data deletion job.
- Parameters:
tags
- A list of tags to apply to the data deletion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the data deletion job.
- Parameters:
tags
- A list of tags to apply to the data deletion job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the data deletion job.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDataDeletionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDataDeletionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-