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(Deprecated)
@Deprecated
public static final class Database.Builder
extends Object
implements software.amazon.jsii.Builder<Database>
Deprecated.
(deprecated) A fluent builder for
Database.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.static Database.BuilderDeprecated.databaseName(String databaseName) Deprecated.description(String description) Deprecated.locationUri(String locationUri) Deprecated.removalPolicy(RemovalPolicy removalPolicy) Deprecated.
-
Method Details
-
create
@Stability(Deprecated) @Deprecated public static Database.Builder create(software.constructs.Construct scope, String id) Deprecated.- Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
Database.Builder.
-
catalog
Deprecated.(deprecated) The catalog in which the database will be placed.Default: The default, account-wide catalog.
- Parameters:
catalog- The catalog in which the database will be placed. This parameter is required.- Returns:
this
-
databaseName
Deprecated.(deprecated) The name of the database.Default: - generated by CDK.
- Parameters:
databaseName- The name of the database. This parameter is required.- Returns:
this
-
description
Deprecated.(deprecated) A description of the database.Default: - no database description
- Parameters:
description- A description of the database. This parameter is required.- Returns:
this
-
locationUri
Deprecated.(deprecated) 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:
-
removalPolicy
@Stability(Deprecated) @Deprecated public Database.Builder removalPolicy(RemovalPolicy removalPolicy) Deprecated.(deprecated) Policy to apply when the database is removed from the stack.A database is a container for tables and their metadata, so it is retained by default to avoid accidental data loss when it is removed from a stack.
Default: RemovalPolicy.RETAIN
- Parameters:
removalPolicy- Policy to apply when the database is removed from the stack. This parameter is required.- Returns:
this
-
build
Deprecated.
-