Class CfnDataDeletionJobMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnDataDeletionJobMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataDeletionJobMixinProps>
- Enclosing interface:
CfnDataDeletionJobMixinProps
@Stability(Stable)
public static final class CfnDataDeletionJobMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataDeletionJobMixinProps>
A builder for
CfnDataDeletionJobMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetGroupArn(String datasetGroupArn) Sets the value ofCfnDataDeletionJobMixinProps.getDatasetGroupArn()Sets the value ofCfnDataDeletionJobMixinProps.getDataSource()dataSource(IResolvable dataSource) Sets the value ofCfnDataDeletionJobMixinProps.getDataSource()Sets the value ofCfnDataDeletionJobMixinProps.getJobName()Sets the value ofCfnDataDeletionJobMixinProps.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetGroupArn
@Stability(Stable) public CfnDataDeletionJobMixinProps.Builder datasetGroupArn(String datasetGroupArn) Sets the value ofCfnDataDeletionJobMixinProps.getDatasetGroupArn()- Parameters:
datasetGroupArn- the value to be set.- Returns:
this
-
dataSource
Sets the value ofCfnDataDeletionJobMixinProps.getDataSource()- Parameters:
dataSource- the value to be set.- Returns:
this
-
dataSource
@Stability(Stable) public CfnDataDeletionJobMixinProps.Builder dataSource(CfnDataDeletionJobPropsMixin.DataSourceProperty dataSource) Sets the value ofCfnDataDeletionJobMixinProps.getDataSource()- Parameters:
dataSource- the value to be set.- Returns:
this
-
jobName
Sets the value ofCfnDataDeletionJobMixinProps.getJobName()- Parameters:
jobName- the value to be set.- Returns:
this
-
roleArn
Sets the value ofCfnDataDeletionJobMixinProps.getRoleArn()- Parameters:
roleArn- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataDeletionJobMixinProps>- Returns:
- a new instance of
CfnDataDeletionJobMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-