Record Class InvocationInfo
java.lang.Object
java.lang.Record
software.amazon.lambda.durable.plugin.InvocationInfo
- Record Components:
requestId- the Lambda request ID for this invocationdurableExecutionArn- the durable execution ARNisFirstInvocation- true if this is the first invocation of the execution (not a replay invocation)
@Deprecated
public record InvocationInfo(String requestId, String durableExecutionArn, boolean isFirstInvocation)
extends Record
Deprecated.
This is a preview API that is experimental and may be changed or removed in future releases.
Invocation-level information available to plugin hooks.
-
Constructor Summary
ConstructorsConstructorDescriptionInvocationInfo(String requestId, String durableExecutionArn, boolean isFirstInvocation) Deprecated.Creates an instance of aInvocationInforecord 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.booleanDeprecated.Returns the value of theisFirstInvocationrecord component.Deprecated.Returns the value of therequestIdrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
InvocationInfo
Deprecated.Creates an instance of aInvocationInforecord class.- Parameters:
requestId- the value for therequestIdrecord componentdurableExecutionArn- the value for thedurableExecutionArnrecord componentisFirstInvocation- the value for theisFirstInvocationrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
isFirstInvocation
public boolean isFirstInvocation()Deprecated.Returns the value of theisFirstInvocationrecord component.- Returns:
- the value of the
isFirstInvocationrecord component
-