Interface CreateDataDeletionJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataDeletionJobRequest.Builder,,CreateDataDeletionJobRequest> PersonalizeRequest.Builder,SdkBuilder<CreateDataDeletionJobRequest.Builder,,CreateDataDeletionJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDataDeletionJobRequest
public static interface CreateDataDeletionJobRequest.Builder
extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateDataDeletionJobRequest.Builder,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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,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
-
tags
-
tags
A list of tags to apply to the data deletion job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-