Interface DescribePlayerSessionsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribePlayerSessionsResponse.Builder,DescribePlayerSessionsResponse>, GameLiftResponse.Builder, SdkBuilder<DescribePlayerSessionsResponse.Builder,DescribePlayerSessionsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribePlayerSessionsResponse

public static interface DescribePlayerSessionsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribePlayerSessionsResponse.Builder,DescribePlayerSessionsResponse>
  • Method Details

    • playerSessions

      A collection of objects containing properties for each player session that matches the request.

      Parameters:
      playerSessions - A collection of objects containing properties for each player session that matches the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playerSessions

      DescribePlayerSessionsResponse.Builder playerSessions(PlayerSession... playerSessions)

      A collection of objects containing properties for each player session that matches the request.

      Parameters:
      playerSessions - A collection of objects containing properties for each player session that matches the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playerSessions

      A collection of objects containing properties for each player session that matches the request.

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

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

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

      A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.

      Parameters:
      nextToken - A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.