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 endederror- non-null if the operation failed
@Deprecated
public record OperationEndInfo(String id, String name, String type, String subType, String parentId, Instant startTimestamp, Instant endTimestamp, 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.name()Deprecated.Returns the value of thenamerecord component.parentId()Deprecated.Returns the value of theparentIdrecord component.Deprecated.Returns the value of thestartTimestamprecord 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, 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 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. All components in this record class are compared withObjects::equals(Object,Object). -
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
-
error
Deprecated.Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-