Record Class OperationEndInfo
java.lang.Object
java.lang.Record
software.amazon.lambda.durable.plugin.OperationEndInfo
- Record Components:
id- operation IDname- human-readable operation name (may be null)type- operation typesubType- operation sub-type (may be null)parentId- parent operation ID (null for root-level operations)startTimestamp- when the operation startedendTimestamp- when the operation endedstatus- the operation's terminal status (e.g., SUCCEEDED, FAILED, TIMED_OUT) — may be null for virtual opsisReplay- true if this operation already existed in the execution state (completed in a prior invocation)error- non-null if the operation failed
@Deprecated
public record OperationEndInfo(String id, String name, String type, String subType, String parentId, Instant startTimestamp, Instant endTimestamp, String status, boolean isReplay, Throwable error)
extends Record
Deprecated.
This is a preview API that is experimental and may be changed or removed in future releases.
Extended operation information for operation end events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of theendTimestamprecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.error()Deprecated.Returns the value of theerrorrecord component.final inthashCode()Deprecated.Returns a hash code value for this object.id()Deprecated.Returns the value of theidrecord component.booleanisReplay()Deprecated.Returns the value of theisReplayrecord component.name()Deprecated.Returns the value of thenamerecord component.parentId()Deprecated.Returns the value of theparentIdrecord component.Deprecated.Returns the value of thestartTimestamprecord component.status()Deprecated.Returns the value of thestatusrecord component.subType()Deprecated.Returns the value of thesubTyperecord component.final StringtoString()Deprecated.Returns a string representation of this record class.type()Deprecated.Returns the value of thetyperecord component.
-
Constructor Details
-
OperationEndInfo
public OperationEndInfo(String id, String name, String type, String subType, String parentId, Instant startTimestamp, Instant endTimestamp, String status, boolean isReplay, Throwable error) Deprecated.Creates an instance of aOperationEndInforecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componenttype- the value for thetyperecord componentsubType- the value for thesubTyperecord componentparentId- the value for theparentIdrecord componentstartTimestamp- the value for thestartTimestamprecord componentendTimestamp- the value for theendTimestamprecord componentstatus- the value for thestatusrecord componentisReplay- the value for theisReplayrecord componenterror- the value for theerrorrecord 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 '=='. -
id
Deprecated.Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Deprecated.Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
type
Deprecated.Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
subType
Deprecated.Returns the value of thesubTyperecord component.- Returns:
- the value of the
subTyperecord component
-
parentId
Deprecated.Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
startTimestamp
Deprecated.Returns the value of thestartTimestamprecord component.- Returns:
- the value of the
startTimestamprecord component
-
endTimestamp
Deprecated.Returns the value of theendTimestamprecord component.- Returns:
- the value of the
endTimestamprecord component
-
status
Deprecated.Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
isReplay
public boolean isReplay()Deprecated.Returns the value of theisReplayrecord component.- Returns:
- the value of the
isReplayrecord component
-
error
Deprecated.Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-