Interface GetDurableExecutionHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDurableExecutionHistoryResponse.Builder,GetDurableExecutionHistoryResponse>,LambdaResponse.Builder,SdkBuilder<GetDurableExecutionHistoryResponse.Builder,GetDurableExecutionHistoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDurableExecutionHistoryResponse
@Mutable @NotThreadSafe public static interface GetDurableExecutionHistoryResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetDurableExecutionHistoryResponse.Builder,GetDurableExecutionHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDurableExecutionHistoryResponse.Builderevents(Collection<Event> events)An array of execution history events, ordered chronologically unlessReverseOrderis set totrue.GetDurableExecutionHistoryResponse.Builderevents(Consumer<Event.Builder>... events)An array of execution history events, ordered chronologically unlessReverseOrderis set totrue.GetDurableExecutionHistoryResponse.Builderevents(Event... events)An array of execution history events, ordered chronologically unlessReverseOrderis set totrue.GetDurableExecutionHistoryResponse.BuildernextMarker(String nextMarker)If present, indicates that more history events are available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
events
GetDurableExecutionHistoryResponse.Builder events(Collection<Event> events)
An array of execution history events, ordered chronologically unless
ReverseOrderis set totrue. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.- Parameters:
events- An array of execution history events, ordered chronologically unlessReverseOrderis set totrue. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetDurableExecutionHistoryResponse.Builder events(Event... events)
An array of execution history events, ordered chronologically unless
ReverseOrderis set totrue. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.- Parameters:
events- An array of execution history events, ordered chronologically unlessReverseOrderis set totrue. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
GetDurableExecutionHistoryResponse.Builder events(Consumer<Event.Builder>... events)
An array of execution history events, ordered chronologically unless
This is a convenience method that creates an instance of theReverseOrderis set totrue. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.Event.Builderavoiding the need to create one manually viaEvent.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 onEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#events(java.util.Collection)
-
nextMarker
GetDurableExecutionHistoryResponse.Builder nextMarker(String nextMarker)
If present, indicates that more history events are available. Use this value as the
Markerparameter in a subsequent request to retrieve the next page of results.- Parameters:
nextMarker- If present, indicates that more history events are available. Use this value as theMarkerparameter in a subsequent request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-