Class CfnPermissions.DataLocationResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPermissions.DataLocationResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissions.DataLocationResourceProperty>
- Enclosing interface:
- CfnPermissions.DataLocationResourceProperty
@Stability(Stable)
public static final class CfnPermissions.DataLocationResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissions.DataLocationResourceProperty>
A builder for
CfnPermissions.DataLocationResourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPermissions.DataLocationResourceProperty.getCatalogId()
s3Resource
(String s3Resource) Sets the value ofCfnPermissions.DataLocationResourceProperty.getS3Resource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPermissions.DataLocationResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPermissions.DataLocationResourceProperty.getCatalogId()
- Parameters:
catalogId
- The identifier for the Data Catalog . By default, it is the account ID of the caller.- Returns:
this
-
s3Resource
@Stability(Stable) public CfnPermissions.DataLocationResourceProperty.Builder s3Resource(String s3Resource) Sets the value ofCfnPermissions.DataLocationResourceProperty.getS3Resource()
- Parameters:
s3Resource
- The Amazon Resource Name (ARN) that uniquely identifies the data location resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermissions.DataLocationResourceProperty>
- Returns:
- a new instance of
CfnPermissions.DataLocationResourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-