Class Execution
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Execution.Builder,Execution>
Represents an execution instance with its lifecycle information
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe unique identifier for the agent space containing this executionfinal StringThe specific subtask being executed by the agentfinal StringThe type of agent that performed this execution.static Execution.Builderbuilder()final InstantTimestamp when this execution was createdfinal booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe unique identifier for this executionfinal ExecutionStatusThe current status of this executionfinal StringThe current status of this executionfinal <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe identifier of the parent execution, if this is a child executionstatic Class<? extends Execution.Builder> 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 Stringuid()The unique identifier for the user session associated with this executionfinal InstantTimestamp when this execution was last updatedMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agentSpaceId
The unique identifier for the agent space containing this execution
- Returns:
- The unique identifier for the agent space containing this execution
-
executionId
The unique identifier for this execution
- Returns:
- The unique identifier for this execution
-
parentExecutionId
The identifier of the parent execution, if this is a child execution
- Returns:
- The identifier of the parent execution, if this is a child execution
-
agentSubTask
The specific subtask being executed by the agent
- Returns:
- The specific subtask being executed by the agent
-
createdAt
Timestamp when this execution was created
- Returns:
- Timestamp when this execution was created
-
updatedAt
Timestamp when this execution was last updated
- Returns:
- Timestamp when this execution was last updated
-
executionStatus
The current status of this execution
If the service returns an enum value that is not available in the current SDK version,
executionStatuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionStatusAsString().- Returns:
- The current status of this execution
- See Also:
-
executionStatusAsString
The current status of this execution
If the service returns an enum value that is not available in the current SDK version,
executionStatuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionStatusAsString().- Returns:
- The current status of this execution
- See Also:
-
agentType
The type of agent that performed this execution.
- Returns:
- The type of agent that performed this execution.
-
uid
The unique identifier for the user session associated with this execution
- Returns:
- The unique identifier for the user session associated with this execution
-
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<Execution.Builder,Execution> - 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.
-