Class DescribeWorkflowExecutionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.swf.model.SwfResponse
-
- software.amazon.awssdk.services.swf.model.DescribeWorkflowExecutionResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeWorkflowExecutionResponse extends SwfResponse implements ToCopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
Contains details about a workflow execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DescribeWorkflowExecutionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeWorkflowExecutionResponse.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
WorkflowExecutionConfiguration
executionConfiguration()
The configuration settings for this workflow execution including timeout values, tasklist etc.WorkflowExecutionInfo
executionInfo()
Information about the workflow execution.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
latestActivityTaskTimestamp()
The time when the last activity task was scheduled for this workflow execution.String
latestExecutionContext()
The latest executionContext provided by the decider for this workflow execution.WorkflowExecutionOpenCounts
openCounts()
The number of tasks for this workflow execution.List<SdkField<?>>
sdkFields()
static Class<? extends DescribeWorkflowExecutionResponse.Builder>
serializableBuilderClass()
DescribeWorkflowExecutionResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.swf.model.SwfResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
executionInfo
public final WorkflowExecutionInfo executionInfo()
Information about the workflow execution.
- Returns:
- Information about the workflow execution.
-
executionConfiguration
public final WorkflowExecutionConfiguration executionConfiguration()
The configuration settings for this workflow execution including timeout values, tasklist etc.
- Returns:
- The configuration settings for this workflow execution including timeout values, tasklist etc.
-
openCounts
public final WorkflowExecutionOpenCounts openCounts()
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
- Returns:
- The number of tasks for this workflow execution. This includes open and closed tasks of all types.
-
latestActivityTaskTimestamp
public final Instant latestActivityTaskTimestamp()
The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.
- Returns:
- The time when the last activity task was scheduled for this workflow execution. You can use this information to determine if the workflow has not made progress for an unusually long period of time and might require a corrective action.
-
latestExecutionContext
public final String latestExecutionContext()
The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
- Returns:
- The latest executionContext provided by the decider for this workflow execution. A decider can provide an executionContext (a free-form string) when closing a decision task using RespondDecisionTaskCompleted.
-
toBuilder
public DescribeWorkflowExecutionResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static DescribeWorkflowExecutionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeWorkflowExecutionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
-