Record Class InvocationEndInfo
java.lang.Object
java.lang.Record
software.amazon.lambda.durable.plugin.InvocationEndInfo
- Record Components:
requestId- the Lambda request ID for this invocationdurableExecutionArn- the durable execution ARNisFirstInvocation- true if this is the first invocation of the executioninvocationStatus- the invocation outcome (SUCCEEDED, FAILED, or PENDING)executionError- non-null if the execution failed
@Deprecated
public record InvocationEndInfo(String requestId, String durableExecutionArn, boolean isFirstInvocation, InvocationStatus invocationStatus, Throwable executionError)
extends Record
Deprecated.
This is a preview API that is experimental and may be changed or removed in future releases.
Information provided at the end of a Lambda invocation.
-
Constructor Summary
ConstructorsConstructorDescriptionInvocationEndInfo(String requestId, String durableExecutionArn, boolean isFirstInvocation, InvocationStatus invocationStatus, Throwable executionError) Deprecated.Creates an instance of aInvocationEndInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of thedurableExecutionArnrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.Deprecated.Returns the value of theexecutionErrorrecord component.final inthashCode()Deprecated.Returns a hash code value for this object.Deprecated.Returns the value of theinvocationStatusrecord component.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
-
InvocationEndInfo
public InvocationEndInfo(String requestId, String durableExecutionArn, boolean isFirstInvocation, InvocationStatus invocationStatus, Throwable executionError) Deprecated.Creates an instance of aInvocationEndInforecord class.- Parameters:
requestId- the value for therequestIdrecord componentdurableExecutionArn- the value for thedurableExecutionArnrecord componentisFirstInvocation- the value for theisFirstInvocationrecord componentinvocationStatus- the value for theinvocationStatusrecord componentexecutionError- the value for theexecutionErrorrecord 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
-
invocationStatus
Deprecated.Returns the value of theinvocationStatusrecord component.- Returns:
- the value of the
invocationStatusrecord component
-
executionError
Deprecated.Returns the value of theexecutionErrorrecord component.- Returns:
- the value of the
executionErrorrecord component
-