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