Class CfnDataDeletionJob.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnDataDeletionJob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataDeletionJob>
- Enclosing class:
CfnDataDeletionJob
@Stability(Stable)
public static final class CfnDataDeletionJob.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataDeletionJob>
A fluent builder for
CfnDataDeletionJob.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDataDeletionJob.BuilderdatasetGroupArn(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.dataSource(IResolvable dataSource) The Amazon S3 bucket that contains the list of userIds to delete.dataSource(CfnDataDeletionJob.DataSourceProperty dataSource) The Amazon S3 bucket that contains the list of userIds to delete.The name for the data deletion job.The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.
-
Method Details
-
create
@Stability(Stable) public static CfnDataDeletionJob.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDataDeletionJob.Builder.
-
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. This parameter is required.- Returns:
this- See Also:
-
dataSource
The Amazon S3 bucket that contains the list of userIds to delete.- Parameters:
dataSource- The Amazon S3 bucket that contains the list of userIds to delete. This parameter is required.- Returns:
this- See Also:
-
dataSource
@Stability(Stable) public CfnDataDeletionJob.Builder dataSource(CfnDataDeletionJob.DataSourceProperty dataSource) The Amazon S3 bucket that contains the list of userIds to delete.- Parameters:
dataSource- The Amazon S3 bucket that contains the list of userIds to delete. This parameter is required.- Returns:
this- See Also:
-
jobName
The name for the data deletion job.- Parameters:
jobName- The name for the data deletion job. This parameter is required.- Returns:
this- 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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataDeletionJob>- Returns:
- a newly built instance of
CfnDataDeletionJob.
-