Class CfnDatabase.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnDatabase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabase>
- Enclosing class:
- CfnDatabase
@Stability(Stable)
public static final class CfnDatabase.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabase>
A fluent builder for
CfnDatabase.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The AWS account ID for the account in which to create the catalog object.static CfnDatabase.BuilderdatabaseInput(IResolvable databaseInput) The metadata for the database.databaseInput(CfnDatabase.DatabaseInputProperty databaseInput) The metadata for the database.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnDatabase.Builder.
-
catalogId
The AWS account ID for the account in which to create the catalog object.To specify the account ID, you can use the
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId- Parameters:
catalogId- The AWS account ID for the account in which to create the catalog object. This parameter is required.- Returns:
this
-
databaseInput
The metadata for the database.- Parameters:
databaseInput- The metadata for the database. This parameter is required.- Returns:
this
-
databaseInput
@Stability(Stable) public CfnDatabase.Builder databaseInput(CfnDatabase.DatabaseInputProperty databaseInput) The metadata for the database.- Parameters:
databaseInput- The metadata for the database. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabase>- Returns:
- a newly built instance of
CfnDatabase.
-