com.amazonaws.services.dynamodb.model
Class ExpectedAttributeValue

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

public class ExpectedAttributeValue
extends Object

Exists : Use this parameter to specify whether or not a value already exists for the attribute name-value pair. Value : Use this parameter to specify whether or not a value already exists and has a specific content for the attribute name-value pair.


Constructor Summary
ExpectedAttributeValue()
          Default constructor for a new ExpectedAttributeValue object.
ExpectedAttributeValue(AttributeValue value)
          Constructs a new ExpectedAttributeValue object.
ExpectedAttributeValue(Boolean exists)
          Constructs a new ExpectedAttributeValue object.
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getExists()
          Returns the value of the Exists property for this object.
 AttributeValue getValue()
          AttributeValue can be String, Number, StringSet, NumberSet.
 int hashCode()
           
 Boolean isExists()
          Returns the value of the Exists property for this object.
 void setExists(Boolean exists)
          Sets the value of the Exists property for this object.
 void setValue(AttributeValue value)
          AttributeValue can be String, Number, StringSet, NumberSet.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ExpectedAttributeValue withExists(Boolean exists)
          Sets the value of the Exists property for this object.
 ExpectedAttributeValue withValue(AttributeValue value)
          AttributeValue can be String, Number, StringSet, NumberSet.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpectedAttributeValue

public ExpectedAttributeValue()
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)
Constructs a new ExpectedAttributeValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
value - AttributeValue can be String, Number, StringSet, NumberSet.

ExpectedAttributeValue

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

Parameters:
exists -
Method Detail

getValue

public AttributeValue getValue()
AttributeValue can be String, Number, StringSet, NumberSet.

Returns:
AttributeValue can be String, Number, StringSet, NumberSet.

setValue

public void setValue(AttributeValue value)
AttributeValue can be String, Number, StringSet, NumberSet.

Parameters:
value - AttributeValue can be String, Number, StringSet, NumberSet.

withValue

public ExpectedAttributeValue withValue(AttributeValue value)
AttributeValue can be String, Number, StringSet, NumberSet.

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

Parameters:
value - AttributeValue can be String, Number, StringSet, NumberSet.
Returns:
A reference to this updated object so that method calls can be chained together.

isExists

public Boolean isExists()
Returns the value of the Exists property for this object.

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

setExists

public void setExists(Boolean exists)
Sets the value of the Exists property for this object.

Parameters:
exists - The new value for the Exists property for this object.

withExists

public ExpectedAttributeValue withExists(Boolean exists)
Sets the value of the Exists property for this object.

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

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

getExists

public Boolean getExists()
Returns the value of the Exists property for this object.

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

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.