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) IfNextPageTokenis 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaWorkflowExecution.builder().When the
Consumercompletes,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
NextPageTokenis returned there are more results available. The value ofNextPageTokenis 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 a400error: "Specified token has exceeded its maximum lifetime".The configured
maximumPageSizedetermines how many results can be returned in a single call.- Parameters:
nextPageToken- IfNextPageTokenis returned there are more results available. The value ofNextPageTokenis 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 a400error: "Specified token has exceeded its maximum lifetime".The configured
maximumPageSizedetermines 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
nextPageTokento obtain further pages of results.- Parameters:
maximumPageSize- The maximum number of results that are returned per call. UsenextPageTokento 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 theeventTimeStampof the events.- Parameters:
reverseOrder- When set totrue, returns the events in reverse order. By default the results are returned in ascending order of theeventTimeStampof 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-