Class Operation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Operation.Builder,Operation>
Information about an operation within a durable execution.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Operation.Builderbuilder()final CallbackDetailsReturns the value of the CallbackDetails property for this object.final ChainedInvokeDetailsReturns the value of the ChainedInvokeDetails property for this object.final ContextDetailsDetails about the context, if this operation represents a context.final InstantThe date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExecutionDetailsDetails about the execution, if this operation represents an execution.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The unique identifier for this operation.final Stringname()The customer-provided name for this operation.final StringparentId()The unique identifier of the parent operation, if this operation is running within a child context.static Class<? extends Operation.Builder> final InstantThe date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).final OperationStatusstatus()The current status of the operation.final StringThe current status of the operation.final StepDetailsDetails about the step, if this operation represents a step.final StringsubType()The subtype of the operation, providing additional categorization.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final OperationTypetype()The type of operation.final StringThe type of operation.final WaitDetailsDetails about the wait operation, if this operation represents a wait.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The unique identifier for this operation.
- Returns:
- The unique identifier for this operation.
-
parentId
The unique identifier of the parent operation, if this operation is running within a child context.
- Returns:
- The unique identifier of the parent operation, if this operation is running within a child context.
-
name
The customer-provided name for this operation.
- Returns:
- The customer-provided name for this operation.
-
type
The type of operation.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of operation.
- See Also:
-
typeAsString
The type of operation.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of operation.
- See Also:
-
subType
The subtype of the operation, providing additional categorization.
- Returns:
- The subtype of the operation, providing additional categorization.
-
startTimestamp
The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Returns:
- The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
endTimestamp
The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Returns:
- The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
status
The current status of the operation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the operation.
- See Also:
-
statusAsString
The current status of the operation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the operation.
- See Also:
-
executionDetails
Details about the execution, if this operation represents an execution.
- Returns:
- Details about the execution, if this operation represents an execution.
-
contextDetails
Details about the context, if this operation represents a context.
- Returns:
- Details about the context, if this operation represents a context.
-
stepDetails
Details about the step, if this operation represents a step.
- Returns:
- Details about the step, if this operation represents a step.
-
waitDetails
Details about the wait operation, if this operation represents a wait.
- Returns:
- Details about the wait operation, if this operation represents a wait.
-
callbackDetails
Returns the value of the CallbackDetails property for this object.- Returns:
- The value of the CallbackDetails property for this object.
-
chainedInvokeDetails
Returns the value of the ChainedInvokeDetails property for this object.- Returns:
- The value of the ChainedInvokeDetails property for this object.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Operation.Builder,Operation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-