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