Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodb.model
Class KeysAndAttributes

java.lang.Object
  extended by com.amazonaws.services.dynamodb.model.KeysAndAttributes
All Implemented Interfaces:
java.io.Serializable

Deprecated.

@Deprecated
public class KeysAndAttributes
extends java.lang.Object
implements java.io.Serializable

Keys And Attributes

See Also:
Serialized Form

Constructor Summary
KeysAndAttributes()
          Deprecated.  
 
Method Summary
 boolean equals(java.lang.Object obj)
          Deprecated.  
 java.util.List<java.lang.String> getAttributesToGet()
          Deprecated. List of Attribute names.
 java.lang.Boolean getConsistentRead()
          Deprecated. If set to true, then a consistent read is issued.
 java.util.List<Key> getKeys()
          Deprecated. Returns the value of the Keys property for this object.
 int hashCode()
          Deprecated.  
 java.lang.Boolean isConsistentRead()
          Deprecated. If set to true, then a consistent read is issued.
 void setAttributesToGet(java.util.Collection<java.lang.String> attributesToGet)
          Deprecated. List of Attribute names.
 void setConsistentRead(java.lang.Boolean consistentRead)
          Deprecated. If set to true, then a consistent read is issued.
 void setKeys(java.util.Collection<Key> keys)
          Deprecated. Sets the value of the Keys property for this object.
 java.lang.String toString()
          Deprecated. Returns a string representation of this object; useful for testing and debugging.
 KeysAndAttributes withAttributesToGet(java.util.Collection<java.lang.String> attributesToGet)
          Deprecated. List of Attribute names.
 KeysAndAttributes withAttributesToGet(java.lang.String... attributesToGet)
          Deprecated. List of Attribute names.
 KeysAndAttributes withConsistentRead(java.lang.Boolean consistentRead)
          Deprecated. If set to true, then a consistent read is issued.
 KeysAndAttributes withKeys(java.util.Collection<Key> keys)
          Deprecated. Sets the value of the Keys property for this object.
 KeysAndAttributes withKeys(Key... keys)
          Deprecated. 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()
Deprecated. 
Method Detail

getKeys

public java.util.List<Key> getKeys()
Deprecated. 
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(java.util.Collection<Key> keys)
Deprecated. 
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)
Deprecated. 
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(java.util.Collection<Key> keys)
Deprecated. 
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 java.util.List<java.lang.String> getAttributesToGet()
Deprecated. 
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(java.util.Collection<java.lang.String> attributesToGet)
Deprecated. 
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(java.lang.String... attributesToGet)
Deprecated. 
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(java.util.Collection<java.lang.String> attributesToGet)
Deprecated. 
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.

isConsistentRead

public java.lang.Boolean isConsistentRead()
Deprecated. 
If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

Returns:
If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

setConsistentRead

public void setConsistentRead(java.lang.Boolean consistentRead)
Deprecated. 
If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

Parameters:
consistentRead - If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

withConsistentRead

public KeysAndAttributes withConsistentRead(java.lang.Boolean consistentRead)
Deprecated. 
If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

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

Parameters:
consistentRead - If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.
Returns:
A reference to this updated object so that method calls can be chained together.

getConsistentRead

public java.lang.Boolean getConsistentRead()
Deprecated. 
If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

Returns:
If set to true, then a consistent read is issued. Otherwise eventually-consistent is used.

toString

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

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

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Overrides:
equals in class java.lang.Object


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