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 Details

    • replays

      An array of Replay objects that contain information about the replay.

      Parameters:
      replays - An array of Replay objects that contain information about the replay.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replays

      ListReplaysResponse.Builder replays(Replay... replays)

      An array of Replay objects that contain information about the replay.

      Parameters:
      replays - An array of Replay 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.

      This is a convenience method that creates an instance of the Replay.Builder avoiding the need to create one manually via Replay.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to replays(List<Replay>).

      Parameters:
      replays - a consumer that will call methods on Replay.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListReplaysResponse.Builder nextToken(String 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.