Interface ListAgentsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BedrockAgentRequest.Builder, Buildable, CopyableBuilder<ListAgentsRequest.Builder,ListAgentsRequest>, SdkBuilder<ListAgentsRequest.Builder,ListAgentsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListAgentsRequest

public static interface ListAgentsRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<ListAgentsRequest.Builder,ListAgentsRequest>
  • Method Details

    • maxResults

      ListAgentsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

      Parameters:
      maxResults - The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListAgentsRequest.Builder nextToken(String nextToken)

      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

      Parameters:
      nextToken - If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListAgentsRequest.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.