Class DataLakeAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.connect.DataLakeAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLakeAssociationReference>
- Enclosing interface:
DataLakeAssociationReference
@Stability(Stable)
public static final class DataLakeAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<DataLakeAssociationReference>
A builder for
DataLakeAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDataLakeAssociationReference.getDataSetId()instanceId(String instanceId) Sets the value ofDataLakeAssociationReference.getInstanceId()targetAccountId(String targetAccountId) Sets the value ofDataLakeAssociationReference.getTargetAccountId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSetId
Sets the value ofDataLakeAssociationReference.getDataSetId()- Parameters:
dataSetId- The DataSetId of the DataLakeAssociation resource. This parameter is required.- Returns:
this
-
instanceId
Sets the value ofDataLakeAssociationReference.getInstanceId()- Parameters:
instanceId- The InstanceId of the DataLakeAssociation resource. This parameter is required.- Returns:
this
-
targetAccountId
@Stability(Stable) public DataLakeAssociationReference.Builder targetAccountId(String targetAccountId) Sets the value ofDataLakeAssociationReference.getTargetAccountId()- Parameters:
targetAccountId- The TargetAccountId of the DataLakeAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLakeAssociationReference>- Returns:
- a new instance of
DataLakeAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-