Interface ListReplaysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReplaysResponse.Builder,,ListReplaysResponse> EventBridgeResponse.Builder,SdkBuilder<ListReplaysResponse.Builder,,ListReplaysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListReplaysResponse
-
Method Summary
Modifier and TypeMethodDescriptionA token indicating there are more results available.replays(Collection<Replay> replays) An array ofReplayobjects that contain information about the replay.replays(Consumer<Replay.Builder>... replays) An array ofReplayobjects that contain information about the replay.An array ofReplayobjects that contain information about the replay.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replays
An array of
Replayobjects that contain information about the replay.- Parameters:
replays- An array ofReplayobjects that contain information about the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replays
An array of
Replayobjects that contain information about the replay.- Parameters:
replays- An array ofReplayobjects that contain information about the replay.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replays
An array of
This is a convenience method that creates an instance of theReplayobjects that contain information about the replay.Replay.Builderavoiding the need to create one manually viaReplay.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplays(List<Replay>).- Parameters:
replays- a consumer that will call methods onReplay.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token indicating there are more results available. If there are no more results, no token is included in the response.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Parameters:
nextToken- A token indicating there are more results available. If there are no more results, no token is included in the response.The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-