@Generated(value="software.amazon.awssdk:codegen") public final class Table extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Table.Builder,Table>
Represents a database table in Timestream. Tables contain one or more related time series. You can modify the retention duration of the memory store and the magnetic store for a table.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Table.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name that uniquely identifies this table.
|
static Table.Builder |
builder() |
Instant |
creationTime()
The time when the Timestream table was created.
|
String |
databaseName()
The name of the Timestream database that contains this table.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
The time when the Timestream table was last updated.
|
MagneticStoreWriteProperties |
magneticStoreWriteProperties()
Contains properties to set on the table when enabling magnetic store writes.
|
RetentionProperties |
retentionProperties()
The retention duration for the memory store and magnetic store.
|
Schema |
schema()
The schema of the table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Table.Builder> |
serializableBuilderClass() |
String |
tableName()
The name of the Timestream table.
|
TableStatus |
tableStatus()
The current state of the table:
|
String |
tableStatusAsString()
The current state of the table:
|
Table.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 table.
public final String tableName()
The name of the Timestream table.
public final String databaseName()
The name of the Timestream database that contains this table.
public final TableStatus tableStatus()
The current state of the table:
DELETING - The table is being deleted.
ACTIVE - The table is ready for use.
If the service returns an enum value that is not available in the current SDK version, tableStatus will
return TableStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
tableStatusAsString().
DELETING - The table is being deleted.
ACTIVE - The table is ready for use.
TableStatuspublic final String tableStatusAsString()
The current state of the table:
DELETING - The table is being deleted.
ACTIVE - The table is ready for use.
If the service returns an enum value that is not available in the current SDK version, tableStatus will
return TableStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
tableStatusAsString().
DELETING - The table is being deleted.
ACTIVE - The table is ready for use.
TableStatuspublic final RetentionProperties retentionProperties()
The retention duration for the memory store and magnetic store.
public final Instant creationTime()
The time when the Timestream table was created.
public final Instant lastUpdatedTime()
The time when the Timestream table was last updated.
public final MagneticStoreWriteProperties magneticStoreWriteProperties()
Contains properties to set on the table when enabling magnetic store writes.
public final Schema schema()
The schema of the table.
public Table.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Table.Builder,Table>public static Table.Builder builder()
public static Class<? extends Table.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.