Class CfnPrincipalPermissions.DataLocationResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.DataLocationResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissions.DataLocationResourceProperty>
- Enclosing interface:
- CfnPrincipalPermissions.DataLocationResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissions.DataLocationResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissions.DataLocationResourceProperty>
A builder for
CfnPrincipalPermissions.DataLocationResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissions.DataLocationResourceProperty.getCatalogId()resourceArn(String resourceArn) Sets the value ofCfnPrincipalPermissions.DataLocationResourceProperty.getResourceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissions.DataLocationResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPrincipalPermissions.DataLocationResourceProperty.getCatalogId()- Parameters:
catalogId- The identifier for the Data Catalog where the location is registered with AWS Lake Formation . This parameter is required.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnPrincipalPermissions.DataLocationResourceProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnPrincipalPermissions.DataLocationResourceProperty.getResourceArn()- Parameters:
resourceArn- The Amazon Resource Name (ARN) that uniquely identifies the data location resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrincipalPermissions.DataLocationResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissions.DataLocationResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-