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 interfaceDescribeWorkflowExecutionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeWorkflowExecutionResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)WorkflowExecutionConfigurationexecutionConfiguration()The configuration settings for this workflow execution including timeout values, tasklist etc.WorkflowExecutionInfoexecutionInfo()Information about the workflow execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlatestActivityTaskTimestamp()The time when the last activity task was scheduled for this workflow execution.StringlatestExecutionContext()The latest executionContext provided by the decider for this workflow execution.WorkflowExecutionOpenCountsopenCounts()The number of tasks for this workflow execution.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeWorkflowExecutionResponse.Builder>serializableBuilderClass()DescribeWorkflowExecutionResponse.BuildertoBuilder()StringtoString()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:
toBuilderin interfaceToCopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeWorkflowExecutionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeWorkflowExecutionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-