ExpectedAttributeValue
instead.@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.
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ExpectedAttributeValue()
public ExpectedAttributeValue(AttributeValue value)
value
- Specify whether or not a value already exists and has a
specific content for the attribute name-value pair.public ExpectedAttributeValue(Boolean exists)
exists
- Specify whether or not a value already exists for the
attribute name-value pair.public AttributeValue getValue()
public void setValue(AttributeValue value)
value
- Specify whether or not a value already exists and has a specific
content for the attribute name-value pair.public ExpectedAttributeValue withValue(AttributeValue value)
Returns a reference to this object so that method calls can be chained together.
value
- Specify whether or not a value already exists and has a specific
content for the attribute name-value pair.public Boolean isExists()
public void setExists(Boolean exists)
exists
- Specify whether or not a value already exists for the attribute
name-value pair.public ExpectedAttributeValue withExists(Boolean exists)
Returns a reference to this object so that method calls can be chained together.
exists
- Specify whether or not a value already exists for the attribute
name-value pair.public Boolean getExists()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.