Record Class AbstractDynamoDbQuery.UpdateExecution
java.lang.Object
java.lang.Record
io.awspring.spring.data.dynamodb.repository.query.AbstractDynamoDbQuery.UpdateExecution
- Enclosing class:
AbstractDynamoDbQuery
protected static record AbstractDynamoDbQuery.UpdateExecution(Object partitionKey, @Nullable Object sortKey, DynamoDbUpdateExpressionRequest request)
extends Record
- Since:
- 1.0.0
- Author:
- Matej Nedic
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateExecution(Object partitionKey, @Nullable Object sortKey, DynamoDbUpdateExpressionRequest request) Creates an instance of aUpdateExecutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepartitionKeyrecord component.request()Returns the value of therequestrecord component.@Nullable ObjectsortKey()Returns the value of thesortKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateExecution
protected UpdateExecution(Object partitionKey, @Nullable Object sortKey, DynamoDbUpdateExpressionRequest request) Creates an instance of aUpdateExecutionrecord class.- Parameters:
partitionKey- the value for thepartitionKeyrecord componentsortKey- the value for thesortKeyrecord componentrequest- the value for therequestrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
partitionKey
Returns the value of thepartitionKeyrecord component.- Returns:
- the value of the
partitionKeyrecord component
-
sortKey
Returns the value of thesortKeyrecord component.- Returns:
- the value of the
sortKeyrecord component
-
request
Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-