com.amazonaws.services.dynamodb.model
Class TableDescription

java.lang.Object
  extended by com.amazonaws.services.dynamodb.model.TableDescription

public class TableDescription
extends Object

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

TableDescription

public TableDescription()
Default constructor for a new TableDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getTableName

public String getTableName()
The name of the table being described.

Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+

Returns:
The name of the table being described.

setTableName

public void setTableName(String tableName)
The name of the table being described.

Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+

Parameters:
tableName - The name of the table being described.

withTableName

public TableDescription withTableName(String tableName)
The name of the table being described.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+

Parameters:
tableName - The name of the table being described.
Returns:
A reference to this updated object so that method calls can be chained together.

getKeySchema

public 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. 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.

Returns:
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.

setKeySchema

public 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. 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.

Parameters:
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.

withKeySchema

public 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. 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getTableStatus

public String getTableStatus()
Returns the value of the TableStatus property for this object.

Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE

Returns:
The value of the TableStatus property for this object.
See Also:
TableStatus

setTableStatus

public void setTableStatus(String tableStatus)
Sets the value of the TableStatus property for this object.

Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE

Parameters:
tableStatus - The new value for the TableStatus property for this object.
See Also:
TableStatus

withTableStatus

public TableDescription withTableStatus(String tableStatus)
Sets the value of the TableStatus property for this object.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE

Parameters:
tableStatus - The new value for the TableStatus property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
TableStatus

setTableStatus

public void setTableStatus(TableStatus tableStatus)
Sets the value of the TableStatus property for this object.

Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE

Parameters:
tableStatus - The new value for the TableStatus property for this object.
See Also:
TableStatus

withTableStatus

public TableDescription withTableStatus(TableStatus tableStatus)
Sets the value of the TableStatus property for this object.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE

Parameters:
tableStatus - The new value for the TableStatus property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
TableStatus

getCreationDateTime

public Date getCreationDateTime()
Returns the value of the CreationDateTime property for this object.

Returns:
The value of the CreationDateTime property for this object.

setCreationDateTime

public void setCreationDateTime(Date creationDateTime)
Sets the value of the CreationDateTime property for this object.

Parameters:
creationDateTime - The new value for the CreationDateTime property for this object.

withCreationDateTime

public TableDescription withCreationDateTime(Date creationDateTime)
Sets the value of the CreationDateTime property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
creationDateTime - The new value for the CreationDateTime property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getProvisionedThroughput

public ProvisionedThroughputDescription getProvisionedThroughput()
Returns the value of the ProvisionedThroughput property for this object.

Returns:
The value of the ProvisionedThroughput property for this object.

setProvisionedThroughput

public void setProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object.

Parameters:
provisionedThroughput - The new value for the ProvisionedThroughput property for this object.

withProvisionedThroughput

public TableDescription withProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
provisionedThroughput - The new value for the ProvisionedThroughput property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getTableSizeBytes

public Long getTableSizeBytes()
Returns the value of the TableSizeBytes property for this object.

Returns:
The value of the TableSizeBytes property for this object.

setTableSizeBytes

public void setTableSizeBytes(Long tableSizeBytes)
Sets the value of the TableSizeBytes property for this object.

Parameters:
tableSizeBytes - The new value for the TableSizeBytes property for this object.

withTableSizeBytes

public TableDescription withTableSizeBytes(Long tableSizeBytes)
Sets the value of the TableSizeBytes property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tableSizeBytes - The new value for the TableSizeBytes property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getItemCount

public Long getItemCount()
Returns the value of the ItemCount property for this object.

Returns:
The value of the ItemCount property for this object.

setItemCount

public void setItemCount(Long itemCount)
Sets the value of the ItemCount property for this object.

Parameters:
itemCount - The new value for the ItemCount property for this object.

withItemCount

public TableDescription withItemCount(Long itemCount)
Sets the value of the ItemCount property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
itemCount - The new value for the ItemCount property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.