Class CfnDatabaseMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnDatabaseMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabaseMixinProps>
- Enclosing interface:
CfnDatabaseMixinProps
@Stability(Stable)
public static final class CfnDatabaseMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabaseMixinProps>
A builder for
CfnDatabaseMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatabaseMixinProps.getCatalogId()databaseInput(CfnDatabasePropsMixin.DatabaseInputProperty databaseInput) Sets the value ofCfnDatabaseMixinProps.getDatabaseInput()databaseInput(IResolvable databaseInput) Sets the value ofCfnDatabaseMixinProps.getDatabaseInput()databaseName(String databaseName) Sets the value ofCfnDatabaseMixinProps.getDatabaseName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
Sets the value ofCfnDatabaseMixinProps.getCatalogId()- Parameters:
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- Returns:
this
-
databaseInput
Sets the value ofCfnDatabaseMixinProps.getDatabaseInput()- Parameters:
databaseInput- The metadata for the database.- Returns:
this
-
databaseInput
@Stability(Stable) public CfnDatabaseMixinProps.Builder databaseInput(CfnDatabasePropsMixin.DatabaseInputProperty databaseInput) Sets the value ofCfnDatabaseMixinProps.getDatabaseInput()- Parameters:
databaseInput- The metadata for the database.- Returns:
this
-
databaseName
Sets the value ofCfnDatabaseMixinProps.getDatabaseName()- Parameters:
databaseName- The name of the catalog database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabaseMixinProps>- Returns:
- a new instance of
CfnDatabaseMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-