Class DataDeletionJobReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.personalize.DataDeletionJobReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataDeletionJobReference>
- Enclosing interface:
DataDeletionJobReference
@Stability(Stable)
public static final class DataDeletionJobReference.Builder
extends Object
implements software.amazon.jsii.Builder<DataDeletionJobReference>
A builder for
DataDeletionJobReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataDeletionJobArn(String dataDeletionJobArn) Sets the value ofDataDeletionJobReference.getDataDeletionJobArn()dataDeletionJobId(String dataDeletionJobId) Sets the value ofDataDeletionJobReference.getDataDeletionJobId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataDeletionJobArn
@Stability(Stable) public DataDeletionJobReference.Builder dataDeletionJobArn(String dataDeletionJobArn) Sets the value ofDataDeletionJobReference.getDataDeletionJobArn()- Parameters:
dataDeletionJobArn- The ARN of the DataDeletionJob resource. This parameter is required.- Returns:
this
-
dataDeletionJobId
@Stability(Stable) public DataDeletionJobReference.Builder dataDeletionJobId(String dataDeletionJobId) Sets the value ofDataDeletionJobReference.getDataDeletionJobId()- Parameters:
dataDeletionJobId- The Id of the DataDeletionJob resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataDeletionJobReference>- Returns:
- a new instance of
DataDeletionJobReference - Throws:
NullPointerException- if any required attribute was not provided
-