public static interface DescribeWorkflowExecutionResponse.Builder extends SwfResponse.Builder, CopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeWorkflowExecutionResponse.Builder |
executionConfiguration(Consumer<WorkflowExecutionConfiguration.Builder> executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
|
DescribeWorkflowExecutionResponse.Builder |
executionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
|
default DescribeWorkflowExecutionResponse.Builder |
executionInfo(Consumer<WorkflowExecutionInfo.Builder> executionInfo)
Information about the workflow execution.
|
DescribeWorkflowExecutionResponse.Builder |
executionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
|
DescribeWorkflowExecutionResponse.Builder |
latestActivityTaskTimestamp(Instant latestActivityTaskTimestamp)
The time when the last activity task was scheduled for this workflow execution.
|
DescribeWorkflowExecutionResponse.Builder |
latestExecutionContext(String latestExecutionContext)
The latest executionContext provided by the decider for this workflow execution.
|
default DescribeWorkflowExecutionResponse.Builder |
openCounts(Consumer<WorkflowExecutionOpenCounts.Builder> openCounts)
The number of tasks for this workflow execution.
|
DescribeWorkflowExecutionResponse.Builder |
openCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeWorkflowExecutionResponse.Builder executionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
executionInfo
- Information about the workflow execution.default DescribeWorkflowExecutionResponse.Builder executionInfo(Consumer<WorkflowExecutionInfo.Builder> executionInfo)
Information about the workflow execution.
This is a convenience that creates an instance of theWorkflowExecutionInfo.Builder
avoiding the need
to create one manually via WorkflowExecutionInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to executionInfo(WorkflowExecutionInfo)
.executionInfo
- a consumer that will call methods on WorkflowExecutionInfo.Builder
executionInfo(WorkflowExecutionInfo)
DescribeWorkflowExecutionResponse.Builder executionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
executionConfiguration
- The configuration settings for this workflow execution including timeout values, tasklist etc.default DescribeWorkflowExecutionResponse.Builder executionConfiguration(Consumer<WorkflowExecutionConfiguration.Builder> executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
This is a convenience that creates an instance of theWorkflowExecutionConfiguration.Builder
avoiding
the need to create one manually via WorkflowExecutionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to executionConfiguration(WorkflowExecutionConfiguration)
.executionConfiguration
- a consumer that will call methods on WorkflowExecutionConfiguration.Builder
executionConfiguration(WorkflowExecutionConfiguration)
DescribeWorkflowExecutionResponse.Builder openCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
openCounts
- The number of tasks for this workflow execution. This includes open and closed tasks of all types.default DescribeWorkflowExecutionResponse.Builder openCounts(Consumer<WorkflowExecutionOpenCounts.Builder> openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
This is a convenience that creates an instance of theWorkflowExecutionOpenCounts.Builder
avoiding
the need to create one manually via WorkflowExecutionOpenCounts.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to openCounts(WorkflowExecutionOpenCounts)
.openCounts
- a consumer that will call methods on WorkflowExecutionOpenCounts.Builder
openCounts(WorkflowExecutionOpenCounts)
DescribeWorkflowExecutionResponse.Builder latestActivityTaskTimestamp(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.
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.DescribeWorkflowExecutionResponse.Builder latestExecutionContext(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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.