@Stability(value=Stable)
public static interface CfnDatabase.DatabaseInputProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object parameters;
DatabaseInputProperty databaseInputProperty = DatabaseInputProperty.builder()
.createTableDefaultPermissions(List.of(PrincipalPrivilegesProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build()))
.description("description")
.locationUri("locationUri")
.name("name")
.parameters(parameters)
.targetDatabase(DatabaseIdentifierProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatabase.DatabaseInputProperty.Builder
A builder for
CfnDatabase.DatabaseInputProperty |
static class |
CfnDatabase.DatabaseInputProperty.Jsii$Proxy
An implementation for
CfnDatabase.DatabaseInputProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatabase.DatabaseInputProperty.Builder |
builder() |
default Object |
getCreateTableDefaultPermissions()
Creates a set of default permissions on the table for principals.
|
default String |
getDescription()
A description of the database.
|
default String |
getLocationUri()
The location of the database (for example, an HDFS path).
|
default String |
getName()
The name of the database.
|
default Object |
getParameters()
These key-value pairs define parameters and properties of the database.
|
default Object |
getTargetDatabase()
A `DatabaseIdentifier` structure that describes a target database for resource linking.
|
@Stability(value=Stable) @Nullable default Object getCreateTableDefaultPermissions()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getLocationUri()
@Stability(value=Stable) @Nullable default String getName()
For Hive compatibility, this is folded to lowercase when it is stored.
@Stability(value=Stable) @Nullable default Object getParameters()
@Stability(value=Stable) @Nullable default Object getTargetDatabase()
@Stability(value=Stable) static CfnDatabase.DatabaseInputProperty.Builder builder()
Copyright © 2022. All rights reserved.