Interface ListAgentVersionsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, BedrockAgentResponse.Builder, Buildable, CopyableBuilder<ListAgentVersionsResponse.Builder,ListAgentVersionsResponse>, SdkBuilder<ListAgentVersionsResponse.Builder,ListAgentVersionsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListAgentVersionsResponse

public static interface ListAgentVersionsResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentVersionsResponse.Builder,ListAgentVersionsResponse>
  • Method Details

    • agentVersionSummaries

      ListAgentVersionsResponse.Builder agentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)

      A list of objects, each of which contains information about a version of the agent.

      Parameters:
      agentVersionSummaries - A list of objects, each of which contains information about a version of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentVersionSummaries

      ListAgentVersionsResponse.Builder agentVersionSummaries(AgentVersionSummary... agentVersionSummaries)

      A list of objects, each of which contains information about a version of the agent.

      Parameters:
      agentVersionSummaries - A list of objects, each of which contains information about a version of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentVersionSummaries

      ListAgentVersionsResponse.Builder agentVersionSummaries(Consumer<AgentVersionSummary.Builder>... agentVersionSummaries)

      A list of objects, each of which contains information about a version of the agent.

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

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

      Parameters:
      agentVersionSummaries - a consumer that will call methods on AgentVersionSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken 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, use this token when making another request in the nextToken field to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.