Interface GetWorkflowExecutionHistoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetWorkflowExecutionHistoryRequest.Builder,
,GetWorkflowExecutionHistoryRequest> SdkBuilder<GetWorkflowExecutionHistoryRequest.Builder,
,GetWorkflowExecutionHistoryRequest> SdkPojo
,SdkRequest.Builder
,SwfRequest.Builder
- Enclosing class:
GetWorkflowExecutionHistoryRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain containing the workflow execution.execution
(Consumer<WorkflowExecution.Builder> execution) Specifies the workflow execution for which to return the history.execution
(WorkflowExecution execution) Specifies the workflow execution for which to return the history.maximumPageSize
(Integer maximumPageSize) The maximum number of results that are returned per call.nextPageToken
(String nextPageToken) IfNextPageToken
is returned there are more results available.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reverseOrder
(Boolean reverseOrder) When set totrue
, returns the events in reverse order.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfRequest.Builder
build
-
Method Details
-
domain
The name of the domain containing the workflow execution.
- Parameters:
domain
- The name of the domain containing the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
Specifies the workflow execution for which to return the history.
- Parameters:
execution
- Specifies the workflow execution for which to return the history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
default GetWorkflowExecutionHistoryRequest.Builder execution(Consumer<WorkflowExecution.Builder> execution) Specifies the workflow execution for which to return the history.
This is a convenience method that creates an instance of theWorkflowExecution.Builder
avoiding the need to create one manually viaWorkflowExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecution(WorkflowExecution)
.- Parameters:
execution
- a consumer that will call methods onWorkflowExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
If
NextPageToken
is returned there are more results available. The value ofNextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a400
error: "Specified token has exceeded its maximum lifetime
".The configured
maximumPageSize
determines how many results can be returned in a single call.- Parameters:
nextPageToken
- IfNextPageToken
is returned there are more results available. The value ofNextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a400
error: "Specified token has exceeded its maximum lifetime
".The configured
maximumPageSize
determines how many results can be returned in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumPageSize
The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.- Parameters:
maximumPageSize
- The maximum number of results that are returned per call. UsenextPageToken
to obtain further pages of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reverseOrder
When set to
true
, returns the events in reverse order. By default the results are returned in ascending order of theeventTimeStamp
of the events.- Parameters:
reverseOrder
- When set totrue
, returns the events in reverse order. By default the results are returned in ascending order of theeventTimeStamp
of the events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetWorkflowExecutionHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetWorkflowExecutionHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-