@Generated(value="software.amazon.awssdk:codegen") public final class Database extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Database.Builder,Database>
A top-level container for a table. Databases and tables are the fundamental management concepts in Amazon Timestream. All tables in a database are encrypted with the same KMS key.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Database.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name that uniquely identifies this database.
|
static Database.Builder |
builder() |
Instant |
creationTime()
The time when the database was created, calculated from the Unix epoch time.
|
String |
databaseName()
The name of the Timestream database.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The identifier of the KMS key used to encrypt the data stored in the database.
|
Instant |
lastUpdatedTime()
The last time that this database was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Database.Builder> |
serializableBuilderClass() |
Long |
tableCount()
The total number of tables found within a Timestream database.
|
Database.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name that uniquely identifies this database.
public final String databaseName()
The name of the Timestream database.
public final Long tableCount()
The total number of tables found within a Timestream database.
public final String kmsKeyId()
The identifier of the KMS key used to encrypt the data stored in the database.
public final Instant creationTime()
The time when the database was created, calculated from the Unix epoch time.
public final Instant lastUpdatedTime()
The last time that this database was updated.
public Database.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Database.Builder,Database>public static Database.Builder builder()
public static Class<? extends Database.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.