@Generated(value="software.amazon.awssdk:codegen") public class Database extends Object implements StructuredPojo, ToCopyableBuilder<Database.Builder,Database>
The Database
object represents a logical grouping of tables that may reside in a Hive metastore or an
RDBMS.
Modifier and Type | Class and Description |
---|---|
static interface |
Database.Builder |
Modifier and Type | Method and Description |
---|---|
static Database.Builder |
builder() |
Instant |
createTime()
The time at which the metadata database was created in the catalog.
|
String |
description()
Description of the database.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
locationUri()
The location of the database (for example, an HDFS path).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
Name of the database.
|
Map<String,String> |
parameters()
A list of key-value pairs that define parameters and properties of the database.
|
static Class<? extends Database.Builder> |
serializableBuilderClass() |
Database.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
Name of the database.
public String description()
Description of the database.
public String locationUri()
The location of the database (for example, an HDFS path).
public Map<String,String> parameters()
A list of key-value pairs that define parameters and properties of the database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant createTime()
The time at which the metadata database was created in the catalog.
public Database.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Database.Builder,Database>
public static Database.Builder builder()
public static Class<? extends Database.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.