|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.ExpectedAttributeValue
public class ExpectedAttributeValue
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 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()
Specify whether or not a value already exists for the attribute name-value pair. |
AttributeValue |
getValue()
Specify whether or not a value already exists and has a specific content for the attribute name-value pair. |
int |
hashCode()
|
Boolean |
isExists()
Specify whether or not a value already exists for the attribute name-value pair. |
void |
setExists(Boolean exists)
Specify whether or not a value already exists for the attribute name-value pair. |
void |
setValue(AttributeValue value)
Specify whether or not a value already exists and has a specific content for the attribute name-value pair. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ExpectedAttributeValue |
withExists(Boolean exists)
Specify whether or not a value already exists for the attribute name-value pair. |
ExpectedAttributeValue |
withValue(AttributeValue value)
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 |
---|
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.Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |