Class AddAction.Builder
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.update.AddAction.Builder
- All Implemented Interfaces:
- Buildable,- CopyableBuilder<AddAction.Builder,,- AddAction> - SdkBuilder<AddAction.Builder,- AddAction> 
- Enclosing class:
- AddAction
public static final class AddAction.Builder
extends Object
implements CopyableBuilder<AddAction.Builder,AddAction> 
A builder for 
AddAction- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds anAddActionbased on the values stored in this builder.expressionNames(Map<String, String> expressionNames) Sets the optional 'expression names' token map, overriding any existing values.expressionValues(Map<String, AttributeValue> expressionValues) Sets the 'expression values' token map that maps from value references (expression attribute values) to DynamoDB AttributeValues, overriding any existing values.A string expression representing the attribute to be acted uponputExpressionName(String key, String value) Adds a single element to the optional 'expression names' token map.putExpressionValue(String key, AttributeValue value) Adds a single element to the 'expression values' token map.A string expression representing the value used in the action.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation
- 
Method Details- 
pathA string expression representing the attribute to be acted upon
- 
valueA string expression representing the value used in the action. The value must be represented as an expression attribute value token.
- 
expressionValuesSets the 'expression values' token map that maps from value references (expression attribute values) to DynamoDB AttributeValues, overriding any existing values. The value reference should always start with ':' (colon).- See Also:
 
- 
putExpressionValueAdds a single element to the 'expression values' token map.- See Also:
 
- 
expressionNamesSets the optional 'expression names' token map, overriding any existing values. Use if the attribute references in the path expression are token ('expression attribute names') prepended with the '#' (pound) sign. It should map from token name to real attribute name.- See Also:
 
- 
putExpressionNameAdds a single element to the optional 'expression names' token map.- See Also:
 
- 
buildBuilds anAddActionbased on the values stored in this builder.- Specified by:
- buildin interface- Buildable
- Specified by:
- buildin interface- SdkBuilder<AddAction.Builder,- AddAction> 
- Returns:
- an instance of T
 
 
-