java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.update.RemoveAction
All Implemented Interfaces:
UpdateAction, ToCopyableBuilder<RemoveAction.Builder,RemoveAction>

public final class RemoveAction extends Object implements UpdateAction, ToCopyableBuilder<RemoveAction.Builder,RemoveAction>
A representation of a single 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();