Class WriteModification
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.extensions.WriteModification
-
@ThreadSafe public final class WriteModification extends Object
Simple object for storing a modification to a write operation.If a transformedItem is supplied then this item will be completely substituted in place of the item that was previously going to be written.
If an additionalConditionalExpression is supplied then this condition will be coalesced with any other conditions and added as a parameter to the write operation.
If an updateExpression is supplied then this update expression will be coalesced with any other update expressions and added as a parameter to the write operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WriteModification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
additionalConditionalExpression()
static WriteModification.Builder
builder()
boolean
equals(Object o)
int
hashCode()
Map<String,AttributeValue>
transformedItem()
UpdateExpression
updateExpression()
-
-
-
Method Detail
-
builder
public static WriteModification.Builder builder()
-
transformedItem
public Map<String,AttributeValue> transformedItem()
-
additionalConditionalExpression
public Expression additionalConditionalExpression()
-
updateExpression
public UpdateExpression updateExpression()
-
-