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 change
durableExecutionArn - the durable execution ARN
updatedOperations - operations whose status changed in this checkpoint response, keyed by operation ID
operations - 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 Details

  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • requestId

      public String requestId()
      Deprecated.
      Returns the value of the requestId record component.
      Returns:
      the value of the requestId record component
    • durableExecutionArn

      public String durableExecutionArn()
      Deprecated.
      Returns the value of the durableExecutionArn record component.
      Returns:
      the value of the durableExecutionArn record component
    • updatedOperations

      public Map<String,OperationChangeItemInfo> updatedOperations()
      Deprecated.
      Returns the value of the updatedOperations record component.
      Returns:
      the value of the updatedOperations record component
    • operations

      public Map<String,OperationChangeItemInfo> operations()
      Deprecated.
      Returns the value of the operations record component.
      Returns:
      the value of the operations record component