public final class RemoveAction extends Object implements UpdateAction, ToCopyableBuilder<RemoveAction.Builder,RemoveAction>
UpdateExpression
REMOVE action.
At a minimum, this action must contain a path string referencing the attribute that should be removed when applying this action. Consult the DynamoDB UpdateExpression documentation for details on this action.
Optionally, attribute names can be substituted with tokens using the '#name_token' syntax. If tokens are used in the expression then the names associated with those tokens must be explicitly added to the expressionNames map that is also stored on this object.
Example:-
RemoveUpdateAction removeAction = RemoveUpdateAction.builder()
.path("#a")
.putExpressionName("#a", "attributeA")
.build();
Modifier and Type | Class and Description |
---|---|
static class |
RemoveAction.Builder
A builder for
RemoveAction |
Modifier and Type | Method and Description |
---|---|
static RemoveAction.Builder |
builder()
Constructs a new builder for
RemoveAction . |
boolean |
equals(Object o) |
Map<String,String> |
expressionNames() |
int |
hashCode() |
String |
path() |
RemoveAction.Builder |
toBuilder() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
copy
public static RemoveAction.Builder builder()
RemoveAction
.public RemoveAction.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<RemoveAction.Builder,RemoveAction>
public String path()
Copyright © 2022. All rights reserved.