Interface ListSessionsRequest.Builder

  • Method Details

    • clusterId

      ListSessionsRequest.Builder clusterId(String clusterId)

      The ID of the cluster to list sessions for.

      Parameters:
      clusterId - The ID of the cluster to list sessions for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionStatesWithStrings

      ListSessionsRequest.Builder sessionStatesWithStrings(Collection<String> sessionStates)

      An optional filter that limits the results to sessions in the specified states.

      Parameters:
      sessionStates - An optional filter that limits the results to sessions in the specified states.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionStatesWithStrings

      ListSessionsRequest.Builder sessionStatesWithStrings(String... sessionStates)

      An optional filter that limits the results to sessions in the specified states.

      Parameters:
      sessionStates - An optional filter that limits the results to sessions in the specified states.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionStates

      ListSessionsRequest.Builder sessionStates(Collection<SessionState> sessionStates)

      An optional filter that limits the results to sessions in the specified states.

      Parameters:
      sessionStates - An optional filter that limits the results to sessions in the specified states.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionStates

      ListSessionsRequest.Builder sessionStates(SessionState... sessionStates)

      An optional filter that limits the results to sessions in the specified states.

      Parameters:
      sessionStates - An optional filter that limits the results to sessions in the specified states.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListSessionsRequest.Builder nextToken(String nextToken)

      The pagination token returned by a previous ListSessions call. Use it to retrieve the next page of results.

      Parameters:
      nextToken - The pagination token returned by a previous ListSessions call. Use it to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListSessionsRequest.Builder maxResults(Integer maxResults)

      The maximum number of sessions to return in each page of results.

      Parameters:
      maxResults - The maximum number of sessions to return in each page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.