Interface DescribeSessionsRequest.Builder

    • Method Detail

      • state

        DescribeSessionsRequest.Builder state​(String state)

        The session status to retrieve a list of sessions for. For example, "Active".

        Parameters:
        state - The session status to retrieve a list of sessions for. For example, "Active".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SessionState, SessionState
      • state

        DescribeSessionsRequest.Builder state​(SessionState state)

        The session status to retrieve a list of sessions for. For example, "Active".

        Parameters:
        state - The session status to retrieve a list of sessions for. For example, "Active".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SessionState, SessionState
      • maxResults

        DescribeSessionsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

        Parameters:
        maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeSessionsRequest.Builder nextToken​(String 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.
      • filters

        DescribeSessionsRequest.Builder filters​(Collection<SessionFilter> filters)

        One or more filters to limit the type of sessions returned by the request.

        Parameters:
        filters - One or more filters to limit the type of sessions returned by the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeSessionsRequest.Builder filters​(SessionFilter... filters)

        One or more filters to limit the type of sessions returned by the request.

        Parameters:
        filters - One or more filters to limit the type of sessions returned by the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.