@Generated(value="software.amazon.awssdk:codegen") public final class DescribeWorkflowExecutionResponse extends SwfResponse implements ToCopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
Contains details about a workflow execution.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeWorkflowExecutionResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeWorkflowExecutionResponse.Builder |
builder() |
boolean |
equals(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)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public WorkflowExecutionInfo executionInfo()
Information about the workflow execution.
public WorkflowExecutionConfiguration executionConfiguration()
The configuration settings for this workflow execution including timeout values, tasklist etc.
public WorkflowExecutionOpenCounts openCounts()
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
public 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.
public 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.
public DescribeWorkflowExecutionResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
toBuilder
in class AwsResponse
public static DescribeWorkflowExecutionResponse.Builder builder()
public static Class<? extends DescribeWorkflowExecutionResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.