Interface GetExecutionHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetExecutionHistoryResponse.Builder,GetExecutionHistoryResponse>,SdkBuilder<GetExecutionHistoryResponse.Builder,GetExecutionHistoryResponse>,SdkPojo,SdkResponse.Builder,SfnResponse.Builder
- Enclosing class:
- GetExecutionHistoryResponse
public static interface GetExecutionHistoryResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<GetExecutionHistoryResponse.Builder,GetExecutionHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetExecutionHistoryResponse.Builderevents(Collection<HistoryEvent> events)The list of events that occurred in the execution.GetExecutionHistoryResponse.Builderevents(Consumer<HistoryEvent.Builder>... events)The list of events that occurred in the execution.GetExecutionHistoryResponse.Builderevents(HistoryEvent... events)The list of events that occurred in the execution.GetExecutionHistoryResponse.BuildernextToken(String nextToken)IfnextTokenis returned, 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
events
GetExecutionHistoryResponse.Builder events(Collection<HistoryEvent> events)
The list of events that occurred in the execution.
- Parameters:
events- The list of events that occurred in the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetExecutionHistoryResponse.Builder events(HistoryEvent... events)
The list of events that occurred in the execution.
- Parameters:
events- The list of events that occurred in the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetExecutionHistoryResponse.Builder events(Consumer<HistoryEvent.Builder>... events)
The list of events that occurred in the execution.
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)
-
nextToken
GetExecutionHistoryResponse.Builder nextToken(String nextToken)
If
nextTokenis returned, there are more results available. The value ofnextTokenis 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 an HTTP 400 InvalidToken error.- Parameters:
nextToken- IfnextTokenis returned, there are more results available. The value ofnextTokenis 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 an HTTP 400 InvalidToken error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-