@Deprecated
public class AttributeValueUpdate
extends java.lang.Object
implements java.io.Serializable
Specifies the attribute to update and how to perform the update. Possible values: PUT (default), ADD or DELETE
.
| コンストラクタと説明 |
|---|
AttributeValueUpdate()
非推奨です。
Default constructor for a new AttributeValueUpdate object.
|
AttributeValueUpdate(AttributeValue value,
AttributeAction action)
非推奨です。
Constructs a new AttributeValueUpdate object.
|
AttributeValueUpdate(AttributeValue value,
java.lang.String action)
非推奨です。
Constructs a new AttributeValueUpdate object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj)
非推奨です。
|
java.lang.String |
getAction()
非推奨です。
The type of action for an item update operation.
|
AttributeValue |
getValue()
非推奨です。
AttributeValue can be
String, Number,
Binary, StringSet, NumberSet,
BinarySet. |
int |
hashCode()
非推奨です。
|
void |
setAction(AttributeAction action)
非推奨です。
The type of action for an item update operation.
|
void |
setAction(java.lang.String action)
非推奨です。
The type of action for an item update operation.
|
void |
setValue(AttributeValue value)
非推奨です。
AttributeValue can be
String, Number,
Binary, StringSet, NumberSet,
BinarySet. |
java.lang.String |
toString()
非推奨です。
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeValueUpdate |
withAction(AttributeAction action)
非推奨です。
The type of action for an item update operation.
|
AttributeValueUpdate |
withAction(java.lang.String action)
非推奨です。
The type of action for an item update operation.
|
AttributeValueUpdate |
withValue(AttributeValue value)
非推奨です。
AttributeValue can be
String, Number,
Binary, StringSet, NumberSet,
BinarySet. |
public AttributeValueUpdate()
public AttributeValueUpdate(AttributeValue value, java.lang.String action)
value - AttributeValue can be String,
Number, Binary, StringSet,
NumberSet, BinarySet.action - The type of action for an item update operation. Only
use the add action for numbers or sets; the specified value is added
to the existing value. If a set of values is specified, the values are
added to the existing set. Adds the specified attribute. If the
attribute exists, it is replaced by the new value. If no value is
specified, this removes the attribute and its value. If a set of
values is specified, then the values in the specified set are removed
from the old set.public AttributeValueUpdate(AttributeValue value, AttributeAction action)
value - AttributeValue can be String,
Number, Binary, StringSet,
NumberSet, BinarySet.action - The type of action for an item update operation. Only
use the add action for numbers or sets; the specified value is added
to the existing value. If a set of values is specified, the values are
added to the existing set. Adds the specified attribute. If the
attribute exists, it is replaced by the new value. If no value is
specified, this removes the attribute and its value. If a set of
values is specified, then the values in the specified set are removed
from the old set.public AttributeValue getValue()
String, Number,
Binary, StringSet, NumberSet,
BinarySet.String, Number,
Binary, StringSet, NumberSet,
BinarySet.public void setValue(AttributeValue value)
String, Number,
Binary, StringSet, NumberSet,
BinarySet.value - AttributeValue can be String, Number,
Binary, StringSet, NumberSet,
BinarySet.public AttributeValueUpdate withValue(AttributeValue value)
String, Number,
Binary, StringSet, NumberSet,
BinarySet.
Returns a reference to this object so that method calls can be chained together.
value - AttributeValue can be String, Number,
Binary, StringSet, NumberSet,
BinarySet.public java.lang.String getAction()
Constraints:
Allowed Values: ADD, PUT, DELETE
AttributeActionpublic void setAction(java.lang.String action)
Constraints:
Allowed Values: ADD, PUT, DELETE
action - The type of action for an item update operation. Only use the add
action for numbers or sets; the specified value is added to the
existing value. If a set of values is specified, the values are added
to the existing set. Adds the specified attribute. If the attribute
exists, it is replaced by the new value. If no value is specified,
this removes the attribute and its value. If a set of values is
specified, then the values in the specified set are removed from the
old set.AttributeActionpublic AttributeValueUpdate withAction(java.lang.String action)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ADD, PUT, DELETE
action - The type of action for an item update operation. Only use the add
action for numbers or sets; the specified value is added to the
existing value. If a set of values is specified, the values are added
to the existing set. Adds the specified attribute. If the attribute
exists, it is replaced by the new value. If no value is specified,
this removes the attribute and its value. If a set of values is
specified, then the values in the specified set are removed from the
old set.AttributeActionpublic void setAction(AttributeAction action)
Constraints:
Allowed Values: ADD, PUT, DELETE
action - The type of action for an item update operation. Only use the add
action for numbers or sets; the specified value is added to the
existing value. If a set of values is specified, the values are added
to the existing set. Adds the specified attribute. If the attribute
exists, it is replaced by the new value. If no value is specified,
this removes the attribute and its value. If a set of values is
specified, then the values in the specified set are removed from the
old set.AttributeActionpublic AttributeValueUpdate withAction(AttributeAction action)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ADD, PUT, DELETE
action - The type of action for an item update operation. Only use the add
action for numbers or sets; the specified value is added to the
existing value. If a set of values is specified, the values are added
to the existing set. Adds the specified attribute. If the attribute
exists, it is replaced by the new value. If no value is specified,
this removes the attribute and its value. If a set of values is
specified, then the values in the specified set are removed from the
old set.AttributeActionpublic java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object