Class Database.Builder

java.lang.Object
software.amazon.awscdk.services.glue.alpha.Database.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Database>
Enclosing class:
Database

@Stability(Experimental) public static final class Database.Builder extends Object implements software.amazon.jsii.Builder<Database>
(experimental) A fluent builder for Database.
  • Method Details

    • create

      @Stability(Experimental) public static Database.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of Database.Builder.
    • databaseName

      @Stability(Experimental) public Database.Builder databaseName(String databaseName)
      (experimental) The name of the database.

      Default: - generated by CDK.

      Parameters:
      databaseName - The name of the database. This parameter is required.
      Returns:
      this
    • description

      @Stability(Experimental) public Database.Builder description(String description)
      (experimental) A description of the database.

      Default: - no database description

      Parameters:
      description - A description of the database. This parameter is required.
      Returns:
      this
    • locationUri

      @Stability(Experimental) public Database.Builder locationUri(String locationUri)
      (experimental) The location of the database (for example, an HDFS path).

      Default: undefined. This field is optional in AWS::Glue::Database DatabaseInput

      Parameters:
      locationUri - The location of the database (for example, an HDFS path). This parameter is required.
      Returns:
      this
      See Also:
    • build

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