Interface ListSessionsRequest.Builder

  • Method Details

    • applicationId

      ListSessionsRequest.Builder applicationId(String applicationId)

      The ID of the application to list sessions for.

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

      ListSessionsRequest.Builder nextToken(String nextToken)

      The token for the next set of session results.

      Parameters:
      nextToken - The token for the next set of session 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.
    • statesWithStrings

      ListSessionsRequest.Builder statesWithStrings(Collection<String> states)

      An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

      Parameters:
      states - An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesWithStrings

      ListSessionsRequest.Builder statesWithStrings(String... states)

      An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

      Parameters:
      states - An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • states

      An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

      Parameters:
      states - An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • states

      An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

      Parameters:
      states - An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAtAfter

      ListSessionsRequest.Builder createdAtAfter(Instant createdAtAfter)

      The lower bound of the option to filter by creation date and time.

      Parameters:
      createdAtAfter - The lower bound of the option to filter by creation date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAtBefore

      ListSessionsRequest.Builder createdAtBefore(Instant createdAtBefore)

      The upper bound of the option to filter by creation date and time.

      Parameters:
      createdAtBefore - The upper bound of the option to filter by creation date and time.
      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.