Interface ListAgentKnowledgeBasesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListAgentKnowledgeBasesResponse.Builder,,ListAgentKnowledgeBasesResponse> SdkBuilder<ListAgentKnowledgeBasesResponse.Builder,,ListAgentKnowledgeBasesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAgentKnowledgeBasesResponse
@Mutable
@NotThreadSafe
public static interface ListAgentKnowledgeBasesResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentKnowledgeBasesResponse.Builder,ListAgentKnowledgeBasesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentKnowledgeBaseSummaries(Collection<AgentKnowledgeBaseSummary> agentKnowledgeBaseSummaries) A list of objects, each of which contains information about a knowledge base associated with the agent.agentKnowledgeBaseSummaries(Consumer<AgentKnowledgeBaseSummary.Builder>... agentKnowledgeBaseSummaries) A list of objects, each of which contains information about a knowledge base associated with the agent.agentKnowledgeBaseSummaries(AgentKnowledgeBaseSummary... agentKnowledgeBaseSummaries) A list of objects, each of which contains information about a knowledge base associated with the agent.If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agentKnowledgeBaseSummaries
ListAgentKnowledgeBasesResponse.Builder agentKnowledgeBaseSummaries(Collection<AgentKnowledgeBaseSummary> agentKnowledgeBaseSummaries) A list of objects, each of which contains information about a knowledge base associated with the agent.
- Parameters:
agentKnowledgeBaseSummaries- A list of objects, each of which contains information about a knowledge base associated with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentKnowledgeBaseSummaries
ListAgentKnowledgeBasesResponse.Builder agentKnowledgeBaseSummaries(AgentKnowledgeBaseSummary... agentKnowledgeBaseSummaries) A list of objects, each of which contains information about a knowledge base associated with the agent.
- Parameters:
agentKnowledgeBaseSummaries- A list of objects, each of which contains information about a knowledge base associated with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentKnowledgeBaseSummaries
ListAgentKnowledgeBasesResponse.Builder agentKnowledgeBaseSummaries(Consumer<AgentKnowledgeBaseSummary.Builder>... agentKnowledgeBaseSummaries) A list of objects, each of which contains information about a knowledge base associated with the agent.
This is a convenience method that creates an instance of theAgentKnowledgeBaseSummary.Builderavoiding the need to create one manually viaAgentKnowledgeBaseSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentKnowledgeBaseSummaries(List<AgentKnowledgeBaseSummary>).- Parameters:
agentKnowledgeBaseSummaries- a consumer that will call methods onAgentKnowledgeBaseSummary.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
maxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-