Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodb.model
Class ExpectedAttributeValue

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

Deprecated.

@Deprecated
public class ExpectedAttributeValue
extends Object
implements Serializable

Allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute value already exists; or if the attribute value exists and has a particular value before changing it.

See Also:
Serialized Form

Constructor Summary
ExpectedAttributeValue()
          Deprecated. Default constructor for a new ExpectedAttributeValue object.
ExpectedAttributeValue(AttributeValue value)
          Deprecated. Constructs a new ExpectedAttributeValue object.
ExpectedAttributeValue(Boolean exists)
          Deprecated. Constructs a new ExpectedAttributeValue object.
 
Method Summary
 boolean equals(Object obj)
          Deprecated.  
 Boolean getExists()
          Deprecated. Specify whether or not a value already exists for the attribute name-value pair.
 AttributeValue getValue()
          Deprecated. Specify whether or not a value already exists and has a specific content for the attribute name-value pair.
 int hashCode()
          Deprecated.  
 Boolean isExists()
          Deprecated. Specify whether or not a value already exists for the attribute name-value pair.
 void setExists(Boolean exists)
          Deprecated. Specify whether or not a value already exists for the attribute name-value pair.
 void setValue(AttributeValue value)
          Deprecated. Specify whether or not a value already exists and has a specific content for the attribute name-value pair.
 String toString()
          Deprecated. Returns a string representation of this object; useful for testing and debugging.
 ExpectedAttributeValue withExists(Boolean exists)
          Deprecated. Specify whether or not a value already exists for the attribute name-value pair.
 ExpectedAttributeValue withValue(AttributeValue value)
          Deprecated. Specify whether or not a value already exists and has a specific content for the attribute name-value pair.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpectedAttributeValue

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


ExpectedAttributeValue

public ExpectedAttributeValue(AttributeValue value)
Deprecated. 
Constructs a new ExpectedAttributeValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
value - Specify whether or not a value already exists and has a specific content for the attribute name-value pair.

ExpectedAttributeValue

public ExpectedAttributeValue(Boolean exists)
Deprecated. 
Constructs a new ExpectedAttributeValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
exists - Specify whether or not a value already exists for the attribute name-value pair.
Method Detail

getValue

public AttributeValue getValue()
Deprecated. 
Specify whether or not a value already exists and has a specific content for the attribute name-value pair.

Returns:
Specify whether or not a value already exists and has a specific content for the attribute name-value pair.

setValue

public void setValue(AttributeValue value)
Deprecated. 
Specify whether or not a value already exists and has a specific content for the attribute name-value pair.

Parameters:
value - Specify whether or not a value already exists and has a specific content for the attribute name-value pair.

withValue

public ExpectedAttributeValue withValue(AttributeValue value)
Deprecated. 
Specify whether or not a value already exists and has a specific content for the attribute name-value pair.

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

Parameters:
value - Specify whether or not a value already exists and has a specific content for the attribute name-value pair.
Returns:
A reference to this updated object so that method calls can be chained together.

isExists

public Boolean isExists()
Deprecated. 
Specify whether or not a value already exists for the attribute name-value pair.

Returns:
Specify whether or not a value already exists for the attribute name-value pair.

setExists

public void setExists(Boolean exists)
Deprecated. 
Specify whether or not a value already exists for the attribute name-value pair.

Parameters:
exists - Specify whether or not a value already exists for the attribute name-value pair.

withExists

public ExpectedAttributeValue withExists(Boolean exists)
Deprecated. 
Specify whether or not a value already exists for the attribute name-value pair.

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

Parameters:
exists - Specify whether or not a value already exists for the attribute name-value pair.
Returns:
A reference to this updated object so that method calls can be chained together.

getExists

public Boolean getExists()
Deprecated. 
Specify whether or not a value already exists for the attribute name-value pair.

Returns:
Specify whether or not a value already exists for the attribute name-value pair.

toString

public String toString()
Deprecated. 
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()
Deprecated. 
Overrides:
hashCode in class Object

equals

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


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