Interface DescribeSessionsResponse.Builder

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

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

    • sessions

      A list of sessions meeting the request parameters.

      Parameters:
      sessions - A list of sessions meeting the request parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessions

      A list of sessions meeting the request parameters.

      Parameters:
      sessions - A list of sessions meeting the request parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessions

      A list of sessions meeting the request parameters.

      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 token for the next set of items to return. (You received this token from a previous call.)

      Parameters:
      nextToken - The token for the next set of items to return. (You received this token from a previous call.)
      Returns:
      Returns a reference to this object so that method calls can be chained together.