public class GetTableResponse extends AbstractBceResponse
metadata| Constructor and Description |
|---|
GetTableResponse()
Constructs a new GetTableResponse object.
|
| Modifier and Type | Method and Description |
|---|---|
List<AttributeDefinition> |
getAttributeDefinitions()
Get all of the attributes for this table.
|
Date |
getCreationDateTime()
Get the table creation time.
|
Long |
getItemCount()
Get the number of Items in this table.
|
List<KeySchemaElement> |
getKeySchema()
Get Key information for this table.
|
ProvisionedThroughputDescription |
getProvisionedThroughput()
Get the provisioned throughput setting for this table from server side.
|
String |
getTableName()
Get the name of the requested table.
|
Long |
getTableSizeInBytes()
Get the size of this table.
|
String |
getTableStatus()
Get the status of the requested table.
|
void |
setAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
Set all of the attributes for this table.
|
void |
setCreationDateTime(Date time)
Set the table creation time.
|
void |
setItemCount(Long count)
Set the number of Items in this table.
|
void |
setKeySchema(List<KeySchemaElement> schema)
Set Key information for this table.
|
void |
setProvisionedThroughput(ProvisionedThroughputDescription other)
Set the provisioned throughput setting for this table from server side.
|
void |
setTableName(String name)
Set the name of the requested table.
|
void |
setTableSizeInBytes(Long size)
Set the size of this table.
|
void |
setTableStatus(String status)
Set the status of the requested table.
|
String |
toString()
Return a string representation of get table response information.
|
getMetadatapublic GetTableResponse()
public List<AttributeDefinition> getAttributeDefinitions()
AttributeDefinitionpublic void setAttributeDefinitions(List<AttributeDefinition> attributeDefinitions)
attributeDefinitions - All of the attributes for this table, the type is in AttributesDefinition type.AttributeDefinitionpublic ProvisionedThroughputDescription getProvisionedThroughput()
public void setProvisionedThroughput(ProvisionedThroughputDescription other)
other - The provisioned throughput setting for this table from server side.public String getTableName()
public void setTableName(String name)
name - The name of the requested table.public void setTableStatus(String status)
status - The status of the requested table.public String getTableStatus()
public Long getTableSizeInBytes()
public List<KeySchemaElement> getKeySchema()
KeySchemaElementpublic void setKeySchema(List<KeySchemaElement> schema)
schema - Key schema for this table.KeySchemaElementpublic Long getItemCount()
public void setItemCount(Long count)
count - The number of Items in this table, the value is in long type.public Date getCreationDateTime()
public void setCreationDateTime(Date time)
time - The table creation timepublic void setTableSizeInBytes(Long size)
size - The size of this table, the number type is in long type, and the unit for it is Byte.Copyright © 2023. All rights reserved.