Interface ListReplaysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchEventsResponse.Builder
,CopyableBuilder<ListReplaysResponse.Builder,
,ListReplaysResponse> SdkBuilder<ListReplaysResponse.Builder,
,ListReplaysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListReplaysResponse
public static interface ListReplaysResponse.Builder
extends CloudWatchEventsResponse.Builder, SdkPojo, CopyableBuilder<ListReplaysResponse.Builder,ListReplaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token returned by a previous call to retrieve the next set of results.replays
(Collection<Replay> replays) An array ofReplay
objects that contain information about the replay.replays
(Consumer<Replay.Builder>... replays) An array ofReplay
objects that contain information about the replay.An array ofReplay
objects that contain information about the replay.Methods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
replays
An array of
Replay
objects that contain information about the replay.- Parameters:
replays
- An array ofReplay
objects 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
Replay
objects that contain information about the replay.- Parameters:
replays
- An array ofReplay
objects 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 theReplay
objects that contain information about the replay.Replay.Builder
avoiding the need to create one manually viaReplay.builder()
.When the
Consumer
completes,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
The token returned by a previous call to retrieve the next set of results.
- Parameters:
nextToken
- The token returned by a previous call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-