|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.TableDescription
public class TableDescription
Table Description
Constructor Summary | |
---|---|
TableDescription()
Default constructor for a new TableDescription object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Date |
getCreationDateTime()
Returns the value of the CreationDateTime property for this object. |
Long |
getItemCount()
Returns the value of the ItemCount property for this object. |
KeySchema |
getKeySchema()
The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. |
ProvisionedThroughputDescription |
getProvisionedThroughput()
Returns the value of the ProvisionedThroughput property for this object. |
String |
getTableName()
The name of the table being described. |
Long |
getTableSizeBytes()
Returns the value of the TableSizeBytes property for this object. |
String |
getTableStatus()
Returns the value of the TableStatus property for this object. |
int |
hashCode()
|
void |
setCreationDateTime(Date creationDateTime)
Sets the value of the CreationDateTime property for this object. |
void |
setItemCount(Long itemCount)
Sets the value of the ItemCount property for this object. |
void |
setKeySchema(KeySchema keySchema)
The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. |
void |
setProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object. |
void |
setTableName(String tableName)
The name of the table being described. |
void |
setTableSizeBytes(Long tableSizeBytes)
Sets the value of the TableSizeBytes property for this object. |
void |
setTableStatus(String tableStatus)
Sets the value of the TableStatus property for this object. |
void |
setTableStatus(TableStatus tableStatus)
Sets the value of the TableStatus property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TableDescription |
withCreationDateTime(Date creationDateTime)
Sets the value of the CreationDateTime property for this object. |
TableDescription |
withItemCount(Long itemCount)
Sets the value of the ItemCount property for this object. |
TableDescription |
withKeySchema(KeySchema keySchema)
The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. |
TableDescription |
withProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object. |
TableDescription |
withTableName(String tableName)
The name of the table being described. |
TableDescription |
withTableSizeBytes(Long tableSizeBytes)
Sets the value of the TableSizeBytes property for this object. |
TableDescription |
withTableStatus(String tableStatus)
Sets the value of the TableStatus property for this object. |
TableDescription |
withTableStatus(TableStatus tableStatus)
Sets the value of the TableStatus property for this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableDescription()
Method Detail |
---|
public String getTableName()
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
public void setTableName(String tableName)
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The name of the table being described.public TableDescription withTableName(String tableName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The name of the table being described.
public KeySchema getKeySchema()
HashKeyElement
. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement
and a
RangeKeyElement
.
HashKeyElement
. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement
and a
RangeKeyElement
.public void setKeySchema(KeySchema keySchema)
HashKeyElement
. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement
and a
RangeKeyElement
.
keySchema
- The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
Single attribute primary keys have one index value: a
HashKeyElement
. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement
and a
RangeKeyElement
.public TableDescription withKeySchema(KeySchema keySchema)
HashKeyElement
. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement
and a
RangeKeyElement
.
Returns a reference to this object so that method calls can be chained together.
keySchema
- The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
Single attribute primary keys have one index value: a
HashKeyElement
. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement
and a
RangeKeyElement
.
public String getTableStatus()
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
TableStatus
public void setTableStatus(String tableStatus)
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
tableStatus
- The new value for the TableStatus property for this object.TableStatus
public TableDescription withTableStatus(String tableStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
tableStatus
- The new value for the TableStatus property for this object.
TableStatus
public void setTableStatus(TableStatus tableStatus)
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
tableStatus
- The new value for the TableStatus property for this object.TableStatus
public TableDescription withTableStatus(TableStatus tableStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
tableStatus
- The new value for the TableStatus property for this object.
TableStatus
public Date getCreationDateTime()
public void setCreationDateTime(Date creationDateTime)
creationDateTime
- The new value for the CreationDateTime property for this object.public TableDescription withCreationDateTime(Date creationDateTime)
Returns a reference to this object so that method calls can be chained together.
creationDateTime
- The new value for the CreationDateTime property for this object.
public ProvisionedThroughputDescription getProvisionedThroughput()
public void setProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
provisionedThroughput
- The new value for the ProvisionedThroughput property for this object.public TableDescription withProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
Returns a reference to this object so that method calls can be chained together.
provisionedThroughput
- The new value for the ProvisionedThroughput property for this object.
public Long getTableSizeBytes()
public void setTableSizeBytes(Long tableSizeBytes)
tableSizeBytes
- The new value for the TableSizeBytes property for this object.public TableDescription withTableSizeBytes(Long tableSizeBytes)
Returns a reference to this object so that method calls can be chained together.
tableSizeBytes
- The new value for the TableSizeBytes property for this object.
public Long getItemCount()
public void setItemCount(Long itemCount)
itemCount
- The new value for the ItemCount property for this object.public TableDescription withItemCount(Long itemCount)
Returns a reference to this object so that method calls can be chained together.
itemCount
- The new value for the ItemCount property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |