com.amazonaws.services.dynamodb.model
Class KeysAndAttributes

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

public class KeysAndAttributes
extends Object

Keys And Attributes


Constructor Summary
KeysAndAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getAttributesToGet()
          List of Attribute names.
 List<Key> getKeys()
          Returns the value of the Keys property for this object.
 int hashCode()
           
 void setAttributesToGet(Collection<String> attributesToGet)
          List of Attribute names.
 void setKeys(Collection<Key> keys)
          Sets the value of the Keys property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 KeysAndAttributes withAttributesToGet(Collection<String> attributesToGet)
          List of Attribute names.
 KeysAndAttributes withAttributesToGet(String... attributesToGet)
          List of Attribute names.
 KeysAndAttributes withKeys(Collection<Key> keys)
          Sets the value of the Keys property for this object.
 KeysAndAttributes withKeys(Key... keys)
          Sets the value of the Keys property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeysAndAttributes

public KeysAndAttributes()
Method Detail

getKeys

public List<Key> getKeys()
Returns the value of the Keys property for this object.

Constraints:
Length: 1 - 100

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

setKeys

public void setKeys(Collection<Key> keys)
Sets the value of the Keys property for this object.

Constraints:
Length: 1 - 100

Parameters:
keys - The new value for the Keys property for this object.

withKeys

public KeysAndAttributes withKeys(Key... keys)
Sets the value of the Keys property for this object.

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

Constraints:
Length: 1 - 100

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

withKeys

public KeysAndAttributes withKeys(Collection<Key> keys)
Sets the value of the Keys property for this object.

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

Constraints:
Length: 1 - 100

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

getAttributesToGet

public List<String> getAttributesToGet()
List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.

Constraints:
Length: 1 -

Returns:
List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.

setAttributesToGet

public void setAttributesToGet(Collection<String> attributesToGet)
List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.

Constraints:
Length: 1 -

Parameters:
attributesToGet - List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.

withAttributesToGet

public KeysAndAttributes withAttributesToGet(String... attributesToGet)
List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.

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

Constraints:
Length: 1 -

Parameters:
attributesToGet - List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.
Returns:
A reference to this updated object so that method calls can be chained together.

withAttributesToGet

public KeysAndAttributes withAttributesToGet(Collection<String> attributesToGet)
List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.

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

Constraints:
Length: 1 -

Parameters:
attributesToGet - List of Attribute names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result.
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.