Interface ListAgentKnowledgeBasesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListAgentKnowledgeBasesResponse.Builder,ListAgentKnowledgeBasesResponse>,SdkBuilder<ListAgentKnowledgeBasesResponse.Builder,ListAgentKnowledgeBasesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAgentKnowledgeBasesResponse
public static interface ListAgentKnowledgeBasesResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentKnowledgeBasesResponse.Builder,ListAgentKnowledgeBasesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAgentKnowledgeBasesResponse.BuilderagentKnowledgeBaseSummaries(Collection<AgentKnowledgeBaseSummary> agentKnowledgeBaseSummaries)Sets the value of the AgentKnowledgeBaseSummaries property for this object.ListAgentKnowledgeBasesResponse.BuilderagentKnowledgeBaseSummaries(Consumer<AgentKnowledgeBaseSummary.Builder>... agentKnowledgeBaseSummaries)Sets the value of the AgentKnowledgeBaseSummaries property for this object.ListAgentKnowledgeBasesResponse.BuilderagentKnowledgeBaseSummaries(AgentKnowledgeBaseSummary... agentKnowledgeBaseSummaries)Sets the value of the AgentKnowledgeBaseSummaries property for this object.ListAgentKnowledgeBasesResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
agentKnowledgeBaseSummaries
ListAgentKnowledgeBasesResponse.Builder agentKnowledgeBaseSummaries(Collection<AgentKnowledgeBaseSummary> agentKnowledgeBaseSummaries)
Sets the value of the AgentKnowledgeBaseSummaries property for this object.- Parameters:
agentKnowledgeBaseSummaries- The new value for the AgentKnowledgeBaseSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentKnowledgeBaseSummaries
ListAgentKnowledgeBasesResponse.Builder agentKnowledgeBaseSummaries(AgentKnowledgeBaseSummary... agentKnowledgeBaseSummaries)
Sets the value of the AgentKnowledgeBaseSummaries property for this object.- Parameters:
agentKnowledgeBaseSummaries- The new value for the AgentKnowledgeBaseSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentKnowledgeBaseSummaries
ListAgentKnowledgeBasesResponse.Builder agentKnowledgeBaseSummaries(Consumer<AgentKnowledgeBaseSummary.Builder>... agentKnowledgeBaseSummaries)
Sets the value of the AgentKnowledgeBaseSummaries property for this object. 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 to#agentKnowledgeBaseSummaries(List.) - 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:
#agentKnowledgeBaseSummaries(java.util.Collection)
-
nextToken
ListAgentKnowledgeBasesResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-