Record Class OperationChangeInfo
java.lang.Object
java.lang.Record
software.amazon.lambda.durable.plugin.OperationChangeInfo
- Record Components:
requestId- the Lambda request ID for the invocation that observed the changedurableExecutionArn- the durable execution ARNupdatedOperations- operations whose status changed in this checkpoint response, keyed by operation IDoperations- a snapshot of all known operations after the update, keyed by operation ID
@Deprecated
public record OperationChangeInfo(String requestId, String durableExecutionArn, Map<String,OperationChangeItemInfo> updatedOperations, Map<String,OperationChangeItemInfo> operations)
extends Record
Deprecated.
This is a preview API that is experimental and may be changed or removed in future releases.
Information provided when a checkpoint response changes one or more operations.
Holds a map with an OperationChangeItemInfo for every operation that changed in the checkpoint response.
-
Constructor Summary
ConstructorsConstructorDescriptionOperationChangeInfo(String requestId, String durableExecutionArn, Map<String, OperationChangeItemInfo> updatedOperations, Map<String, OperationChangeItemInfo> operations) Deprecated.Creates an instance of aOperationChangeInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of thedurableExecutionArnrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.Deprecated.Returns the value of theoperationsrecord component.Deprecated.Returns the value of therequestIdrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.Deprecated.Returns the value of theupdatedOperationsrecord component.
-
Constructor Details
-
OperationChangeInfo
public OperationChangeInfo(String requestId, String durableExecutionArn, Map<String, OperationChangeItemInfo> updatedOperations, Map<String, OperationChangeItemInfo> operations) Deprecated.Creates an instance of aOperationChangeInforecord class.- Parameters:
requestId- the value for therequestIdrecord componentdurableExecutionArn- the value for thedurableExecutionArnrecord componentupdatedOperations- the value for theupdatedOperationsrecord componentoperations- the value for theoperationsrecord component
-
-
Method Details
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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). -
requestId
Deprecated.Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
durableExecutionArn
Deprecated.Returns the value of thedurableExecutionArnrecord component.- Returns:
- the value of the
durableExecutionArnrecord component
-
updatedOperations
Deprecated.Returns the value of theupdatedOperationsrecord component.- Returns:
- the value of the
updatedOperationsrecord component
-
operations
Deprecated.Returns the value of theoperationsrecord component.- Returns:
- the value of the
operationsrecord component
-