Package com.jcabi.dynamo
Class AttributeUpdates
java.lang.Object
com.jcabi.dynamo.AttributeUpdates
- All Implemented Interfaces:
Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate>
@Immutable
@Loggable(1)
public final class AttributeUpdates
extends Object
implements Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate>
DynamoDB item attribute updates.
- Since:
- 0.12
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPrivate ctor.AttributeUpdates(Map<String, software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate> map) Private ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdatebooleanisEmpty()keySet()software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdatevoidputAll(Map<? extends String, ? extends software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate> map) software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdateintsize()toString()Collection<software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate>values()With this attribute.With this attribute.With this attribute.With these AttributeUpdates.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
Method Details
-
with
public AttributeUpdates with(String name, software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate value) With this attribute.- Parameters:
name- Attribute namevalue- The value- Returns:
- AttributeUpdates
-
with
public AttributeUpdates with(String name, software.amazon.awssdk.services.dynamodb.model.AttributeValue value) With this attribute.- Parameters:
name- Attribute namevalue- The value- Returns:
- AttributeUpdates
- Since:
- 0.14.3
-
with
With this attribute.- Parameters:
name- Attribute namevalue- The value- Returns:
- AttributeUpdates
- Since:
- 0.14.3
-
with
public AttributeUpdates with(Map<String, software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate> map) With these AttributeUpdates.- Parameters:
map- AttributeUpdates to add- Returns:
- AttributeUpdates
-
toString
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate>
-
get
-
keySet
-
values
-
entrySet
-
put
public software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate put(String key, software.amazon.awssdk.services.dynamodb.model.AttributeValueUpdate value) -
remove
-
putAll
-
clear
public void clear()
-