Record Class OperationChangeItemInfo
java.lang.Object
java.lang.Record
software.amazon.lambda.durable.plugin.OperationChangeItemInfo
- 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- operation statusattempt- attempt number for retriable operations, null for othersisReplay- true if this operation was present in state delivered at invocation starterror- non-null if the operation failed; this component is experimentalresult- checkpointed serialized result, or null if unavailable; this component is experimental
public record OperationChangeItemInfo(String id, String name, String type, String subType, String parentId, Instant startTimestamp, Instant endTimestamp, software.amazon.awssdk.services.lambda.model.OperationStatus status, Integer attempt, boolean isReplay, @Experimental Throwable error, @Experimental String result)
extends Record
Operation-level information for an
OperationChangeInfo and invocation operation snapshot.-
Constructor Summary
ConstructorsConstructorDescriptionOperationChangeItemInfo(String id, String name, String type, String subType, String parentId, Instant startTimestamp, Instant endTimestamp, software.amazon.awssdk.services.lambda.model.OperationStatus status, Integer attempt, boolean isReplay, Throwable error, String result) Creates an instance of aOperationChangeItemInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionattempt()Returns the value of theattemptrecord component.Returns the value of theendTimestamprecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.booleanisReplay()Returns the value of theisReplayrecord component.name()Returns the value of thenamerecord component.parentId()Returns the value of theparentIdrecord component.result()Returns the value of theresultrecord component.Returns the value of thestartTimestamprecord component.software.amazon.awssdk.services.lambda.model.OperationStatusstatus()Returns the value of thestatusrecord component.subType()Returns the value of thesubTyperecord component.toString()Returns a representation that omits the operation result payload.type()Returns the value of thetyperecord component.
-
Constructor Details
-
OperationChangeItemInfo
public OperationChangeItemInfo(String id, String name, String type, String subType, String parentId, Instant startTimestamp, Instant endTimestamp, software.amazon.awssdk.services.lambda.model.OperationStatus status, Integer attempt, boolean isReplay, @Experimental Throwable error, @Experimental String result) Creates an instance of aOperationChangeItemInforecord 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 componentattempt- the value for theattemptrecord componentisReplay- the value for theisReplayrecord componenterror- the value for theerrorrecord componentresult- the value for theresultrecord component
-
-
Method Details
-
toString
Returns a representation that omits the operation result payload. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
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
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
subType
Returns the value of thesubTyperecord component.- Returns:
- the value of the
subTyperecord component
-
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
startTimestamp
Returns the value of thestartTimestamprecord component.- Returns:
- the value of the
startTimestamprecord component
-
endTimestamp
Returns the value of theendTimestamprecord component.- Returns:
- the value of the
endTimestamprecord component
-
status
public software.amazon.awssdk.services.lambda.model.OperationStatus status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
attempt
Returns the value of theattemptrecord component.- Returns:
- the value of the
attemptrecord component
-
isReplay
public boolean isReplay()Returns the value of theisReplayrecord component.- Returns:
- the value of the
isReplayrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-