Class CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty>
- Enclosing interface:
CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty.Builder catalogId(String catalogId) - Parameters:
catalogId- The identifier for the Data Catalog. By default, it is the account ID of the caller.- Returns:
this
-
name
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty.Builder name(String name) Sets the value ofCfnPrincipalPermissionsPropsMixin.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<CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-