Interface DescribeSessionsResponse.Builder

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

public static interface DescribeSessionsResponse.Builder extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeSessionsResponse.Builder,DescribeSessionsResponse>
  • Method Details

    • sessions

      Information about the streaming sessions.

      Parameters:
      sessions - Information about the streaming sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessions

      Information about the streaming sessions.

      Parameters:
      sessions - Information about the streaming sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessions

      Information about the streaming sessions.

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

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

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

      The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

      Parameters:
      nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.