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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDataDeletionJobRequest.BuilderdatasetGroupArn(String datasetGroupArn)The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.default CreateDataDeletionJobRequest.BuilderdataSource(Consumer<DataSource.Builder> dataSource)The Amazon S3 bucket that contains the list of userIds of the users to delete.CreateDataDeletionJobRequest.BuilderdataSource(DataSource dataSource)The Amazon S3 bucket that contains the list of userIds of the users to delete.CreateDataDeletionJobRequest.BuilderjobName(String jobName)The name for the data deletion job.CreateDataDeletionJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDataDeletionJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDataDeletionJobRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.CreateDataDeletionJobRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the data deletion job.CreateDataDeletionJobRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the data deletion job.CreateDataDeletionJobRequest.Buildertags(Tag... tags)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 Detail
-
jobName
CreateDataDeletionJobRequest.Builder jobName(String 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
CreateDataDeletionJobRequest.Builder datasetGroupArn(String 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
CreateDataDeletionJobRequest.Builder dataSource(DataSource 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
default CreateDataDeletionJobRequest.Builder dataSource(Consumer<DataSource.Builder> 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:
dataSource(DataSource)
-
roleArn
CreateDataDeletionJobRequest.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.
-
tags
CreateDataDeletionJobRequest.Builder tags(Collection<Tag> 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
CreateDataDeletionJobRequest.Builder tags(Tag... 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
CreateDataDeletionJobRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateDataDeletionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDataDeletionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-