Interface ListReplaysResponse.Builder

    • Method Detail

      • replays

        ListReplaysResponse.Builder replays​(Collection<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

        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

        ListReplaysResponse.Builder replays​(Consumer<Replay.Builder>... 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).

        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:
        #replays(java.util.Collection)
      • 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.