Interface ListSessionsRequest.Builder

  • Method Details

    • approvalTeamArn

      ListSessionsRequest.Builder approvalTeamArn(String approvalTeamArn)

      Amazon Resource Name (ARN) for the approval team.

      Parameters:
      approvalTeamArn - Amazon Resource Name (ARN) for the approval team.
      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 items to return in the response. If more results exist than the specified MaxResults value, a token is included in the response so that you can retrieve the remaining results.

      Parameters:
      maxResults - The maximum number of items to return in the response. If more results exist than the specified MaxResults value, a token is included in the response so that you can retrieve the remaining results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListSessionsRequest.Builder nextToken(String nextToken)

      If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a next call to the operation to get more output. You can repeat this until the NextToken response element returns null.

      Parameters:
      nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a next call to the operation to get more output. You can repeat this until the NextToken response element returns null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      An array of Filter objects. Contains the filter to apply when listing sessions.

      Parameters:
      filters - An array of Filter objects. Contains the filter to apply when listing sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      ListSessionsRequest.Builder filters(Filter... filters)

      An array of Filter objects. Contains the filter to apply when listing sessions.

      Parameters:
      filters - An array of Filter objects. Contains the filter to apply when listing sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      An array of Filter objects. Contains the filter to apply when listing sessions.

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

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

      Parameters:
      filters - a consumer that will call methods on Filter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.