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 Details

    • create

      @Stability(Stable) public static CfnDatabase.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDatabase.Builder.
    • catalogId

      @Stability(Stable) public CfnDatabase.Builder catalogId(String catalogId)
      The AWS account ID for the account in which to create the catalog object.

      To specify the account ID, you can use the Ref intrinsic function with the AWS::AccountId pseudo 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

      @Stability(Stable) public CfnDatabase.Builder databaseInput(IResolvable 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

      @Stability(Stable) public CfnDatabase build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDatabase>
      Returns:
      a newly built instance of CfnDatabase.