Interface DescribeWorkflowExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
,SdkBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
,SdkPojo
,SdkResponse.Builder
,SwfResponse.Builder
- Enclosing class:
- DescribeWorkflowExecutionResponse
public static interface DescribeWorkflowExecutionResponse.Builder extends SwfResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkflowExecutionResponse.Builder,DescribeWorkflowExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
executionInfo
DescribeWorkflowExecutionResponse.Builder executionInfo(WorkflowExecutionInfo executionInfo)
Information about the workflow execution.
- Parameters:
executionInfo
- Information about the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionInfo
default DescribeWorkflowExecutionResponse.Builder executionInfo(Consumer<WorkflowExecutionInfo.Builder> executionInfo)
Information about the workflow execution.
This is a convenience method that creates an instance of theWorkflowExecutionInfo.Builder
avoiding the need to create one manually viaWorkflowExecutionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionInfo(WorkflowExecutionInfo)
.- Parameters:
executionInfo
- a consumer that will call methods onWorkflowExecutionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
executionInfo(WorkflowExecutionInfo)
-
executionConfiguration
DescribeWorkflowExecutionResponse.Builder executionConfiguration(WorkflowExecutionConfiguration executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
- Parameters:
executionConfiguration
- The configuration settings for this workflow execution including timeout values, tasklist etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionConfiguration
default DescribeWorkflowExecutionResponse.Builder executionConfiguration(Consumer<WorkflowExecutionConfiguration.Builder> executionConfiguration)
The configuration settings for this workflow execution including timeout values, tasklist etc.
This is a convenience method that creates an instance of theWorkflowExecutionConfiguration.Builder
avoiding the need to create one manually viaWorkflowExecutionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionConfiguration(WorkflowExecutionConfiguration)
.- Parameters:
executionConfiguration
- a consumer that will call methods onWorkflowExecutionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
executionConfiguration(WorkflowExecutionConfiguration)
-
openCounts
DescribeWorkflowExecutionResponse.Builder openCounts(WorkflowExecutionOpenCounts openCounts)
The number of tasks for this workflow execution. This includes open and closed tasks of all types.
- Parameters:
openCounts
- The number of tasks for this workflow execution. This includes open and closed tasks of all types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openCounts
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 method that creates an instance of theWorkflowExecutionOpenCounts.Builder
avoiding the need to create one manually viaWorkflowExecutionOpenCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenCounts(WorkflowExecutionOpenCounts)
.- Parameters:
openCounts
- a consumer that will call methods onWorkflowExecutionOpenCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
openCounts(WorkflowExecutionOpenCounts)
-
latestActivityTaskTimestamp
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
latestExecutionContext
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-