Interface GetWorkflowExecutionHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWorkflowExecutionHistoryResponse.Builder,GetWorkflowExecutionHistoryResponse>,SdkBuilder<GetWorkflowExecutionHistoryResponse.Builder,GetWorkflowExecutionHistoryResponse>,SdkPojo,SdkResponse.Builder,SwfResponse.Builder
- Enclosing class:
- GetWorkflowExecutionHistoryResponse
@Mutable @NotThreadSafe public static interface GetWorkflowExecutionHistoryResponse.Builder extends SwfResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowExecutionHistoryResponse.Builder,GetWorkflowExecutionHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetWorkflowExecutionHistoryResponse.Builderevents(Collection<HistoryEvent> events)The list of history events.GetWorkflowExecutionHistoryResponse.Builderevents(Consumer<HistoryEvent.Builder>... events)The list of history events.GetWorkflowExecutionHistoryResponse.Builderevents(HistoryEvent... events)The list of history events.GetWorkflowExecutionHistoryResponse.BuildernextPageToken(String nextPageToken)If aNextPageTokenwas returned by a previous call, there are more results available.-
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
-
events
GetWorkflowExecutionHistoryResponse.Builder events(Collection<HistoryEvent> events)
The list of history events.
- Parameters:
events- The list of history events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetWorkflowExecutionHistoryResponse.Builder events(HistoryEvent... events)
The list of history events.
- Parameters:
events- The list of history events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetWorkflowExecutionHistoryResponse.Builder events(Consumer<HistoryEvent.Builder>... events)
The list of history events.
This is a convenience method that creates an instance of theHistoryEvent.Builderavoiding the need to create one manually viaHistoryEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - Parameters:
events- a consumer that will call methods onHistoryEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#events(java.util.Collection)
-
nextPageToken
GetWorkflowExecutionHistoryResponse.Builder nextPageToken(String nextPageToken)
If a
NextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Parameters:
nextPageToken- If aNextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.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.
-
-