Interface ListAgentKnowledgeBasesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<ListAgentKnowledgeBasesRequest.Builder,ListAgentKnowledgeBasesRequest>,SdkBuilder<ListAgentKnowledgeBasesRequest.Builder,ListAgentKnowledgeBasesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAgentKnowledgeBasesRequest
public static interface ListAgentKnowledgeBasesRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<ListAgentKnowledgeBasesRequest.Builder,ListAgentKnowledgeBasesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAgentKnowledgeBasesRequest.BuilderagentId(String agentId)The unique identifier of the agent for which to return information about knowledge bases associated with it.ListAgentKnowledgeBasesRequest.BuilderagentVersion(String agentVersion)The version of the agent for which to return information about knowledge bases associated with it.ListAgentKnowledgeBasesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListAgentKnowledgeBasesRequest.BuildernextToken(String nextToken)If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.ListAgentKnowledgeBasesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAgentKnowledgeBasesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
agentId
ListAgentKnowledgeBasesRequest.Builder agentId(String agentId)
The unique identifier of the agent for which to return information about knowledge bases associated with it.
- Parameters:
agentId- The unique identifier of the agent for which to return information about knowledge bases associated with it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
ListAgentKnowledgeBasesRequest.Builder agentVersion(String agentVersion)
The version of the agent for which to return information about knowledge bases associated with it.
- Parameters:
agentVersion- The version of the agent for which to return information about knowledge bases associated with it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListAgentKnowledgeBasesRequest.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
nextTokenfield 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 thenextTokenfield 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
ListAgentKnowledgeBasesRequest.Builder nextToken(String nextToken)
If the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield 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
ListAgentKnowledgeBasesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAgentKnowledgeBasesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-