Interface AssociateAgentKnowledgeBaseResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<AssociateAgentKnowledgeBaseResponse.Builder,AssociateAgentKnowledgeBaseResponse>,SdkBuilder<AssociateAgentKnowledgeBaseResponse.Builder,AssociateAgentKnowledgeBaseResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssociateAgentKnowledgeBaseResponse
public static interface AssociateAgentKnowledgeBaseResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<AssociateAgentKnowledgeBaseResponse.Builder,AssociateAgentKnowledgeBaseResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateAgentKnowledgeBaseResponse.BuilderagentKnowledgeBase(Consumer<AgentKnowledgeBase.Builder> agentKnowledgeBase)Sets the value of the AgentKnowledgeBase property for this object.AssociateAgentKnowledgeBaseResponse.BuilderagentKnowledgeBase(AgentKnowledgeBase agentKnowledgeBase)Sets the value of the AgentKnowledgeBase 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
-
agentKnowledgeBase
AssociateAgentKnowledgeBaseResponse.Builder agentKnowledgeBase(AgentKnowledgeBase agentKnowledgeBase)
Sets the value of the AgentKnowledgeBase property for this object.- Parameters:
agentKnowledgeBase- The new value for the AgentKnowledgeBase property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentKnowledgeBase
default AssociateAgentKnowledgeBaseResponse.Builder agentKnowledgeBase(Consumer<AgentKnowledgeBase.Builder> agentKnowledgeBase)
Sets the value of the AgentKnowledgeBase property for this object. This is a convenience method that creates an instance of theAgentKnowledgeBase.Builderavoiding the need to create one manually viaAgentKnowledgeBase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentKnowledgeBase(AgentKnowledgeBase).- Parameters:
agentKnowledgeBase- a consumer that will call methods onAgentKnowledgeBase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
agentKnowledgeBase(AgentKnowledgeBase)
-
-