@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Table extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
Table |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name that uniquely identifies this table.
|
Date |
getCreationTime()
The time when the Timestream table was created.
|
String |
getDatabaseName()
The name of the Timestream database that contains this table.
|
Date |
getLastUpdatedTime()
The time when the Timestream table was last updated.
|
MagneticStoreWriteProperties |
getMagneticStoreWriteProperties()
Contains properties to set on the table when enabling magnetic store writes.
|
RetentionProperties |
getRetentionProperties()
The retention duration for the memory store and magnetic store.
|
String |
getTableName()
The name of the Timestream table.
|
String |
getTableStatus()
The current state of the table:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name that uniquely identifies this table.
|
void |
setCreationTime(Date creationTime)
The time when the Timestream table was created.
|
void |
setDatabaseName(String databaseName)
The name of the Timestream database that contains this table.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time when the Timestream table was last updated.
|
void |
setMagneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties)
Contains properties to set on the table when enabling magnetic store writes.
|
void |
setRetentionProperties(RetentionProperties retentionProperties)
The retention duration for the memory store and magnetic store.
|
void |
setTableName(String tableName)
The name of the Timestream table.
|
void |
setTableStatus(String tableStatus)
The current state of the table:
|
String |
toString()
Returns a string representation of this object.
|
Table |
withArn(String arn)
The Amazon Resource Name that uniquely identifies this table.
|
Table |
withCreationTime(Date creationTime)
The time when the Timestream table was created.
|
Table |
withDatabaseName(String databaseName)
The name of the Timestream database that contains this table.
|
Table |
withLastUpdatedTime(Date lastUpdatedTime)
The time when the Timestream table was last updated.
|
Table |
withMagneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties)
Contains properties to set on the table when enabling magnetic store writes.
|
Table |
withRetentionProperties(RetentionProperties retentionProperties)
The retention duration for the memory store and magnetic store.
|
Table |
withTableName(String tableName)
The name of the Timestream table.
|
Table |
withTableStatus(String tableStatus)
The current state of the table:
|
Table |
withTableStatus(TableStatus tableStatus)
The current state of the table:
|
public void setArn(String arn)
The Amazon Resource Name that uniquely identifies this table.
arn
- The Amazon Resource Name that uniquely identifies this table.public String getArn()
The Amazon Resource Name that uniquely identifies this table.
public Table withArn(String arn)
The Amazon Resource Name that uniquely identifies this table.
arn
- The Amazon Resource Name that uniquely identifies this table.public void setTableName(String tableName)
The name of the Timestream table.
tableName
- The name of the Timestream table.public String getTableName()
The name of the Timestream table.
public Table withTableName(String tableName)
The name of the Timestream table.
tableName
- The name of the Timestream table.public void setDatabaseName(String databaseName)
The name of the Timestream database that contains this table.
databaseName
- The name of the Timestream database that contains this table.public String getDatabaseName()
The name of the Timestream database that contains this table.
public Table withDatabaseName(String databaseName)
The name of the Timestream database that contains this table.
databaseName
- The name of the Timestream database that contains this table.public void setTableStatus(String tableStatus)
The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
tableStatus
- The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public String getTableStatus()
The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public Table withTableStatus(String tableStatus)
The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
tableStatus
- The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public Table withTableStatus(TableStatus tableStatus)
The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
tableStatus
- The current state of the table:
DELETING
- The table is being deleted.
ACTIVE
- The table is ready for use.
TableStatus
public void setRetentionProperties(RetentionProperties retentionProperties)
The retention duration for the memory store and magnetic store.
retentionProperties
- The retention duration for the memory store and magnetic store.public RetentionProperties getRetentionProperties()
The retention duration for the memory store and magnetic store.
public Table withRetentionProperties(RetentionProperties retentionProperties)
The retention duration for the memory store and magnetic store.
retentionProperties
- The retention duration for the memory store and magnetic store.public void setCreationTime(Date creationTime)
The time when the Timestream table was created.
creationTime
- The time when the Timestream table was created.public Date getCreationTime()
The time when the Timestream table was created.
public Table withCreationTime(Date creationTime)
The time when the Timestream table was created.
creationTime
- The time when the Timestream table was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time when the Timestream table was last updated.
lastUpdatedTime
- The time when the Timestream table was last updated.public Date getLastUpdatedTime()
The time when the Timestream table was last updated.
public Table withLastUpdatedTime(Date lastUpdatedTime)
The time when the Timestream table was last updated.
lastUpdatedTime
- The time when the Timestream table was last updated.public void setMagneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties)
Contains properties to set on the table when enabling magnetic store writes.
magneticStoreWriteProperties
- Contains properties to set on the table when enabling magnetic store writes.public MagneticStoreWriteProperties getMagneticStoreWriteProperties()
Contains properties to set on the table when enabling magnetic store writes.
public Table withMagneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties)
Contains properties to set on the table when enabling magnetic store writes.
magneticStoreWriteProperties
- Contains properties to set on the table when enabling magnetic store writes.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.