Interface CreateAiAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAiAgentResponse.Builder,,CreateAiAgentResponse> QConnectResponse.Builder,SdkBuilder<CreateAiAgentResponse.Builder,,CreateAiAgentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAiAgentResponse
public static interface CreateAiAgentResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateAiAgentResponse.Builder,CreateAiAgentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAiAgentResponse.BuilderaiAgent(Consumer<AIAgentData.Builder> aiAgent) The data of the created AI Agent.aiAgent(AIAgentData aiAgent) The data of the created AI Agent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aiAgent
The data of the created AI Agent.
- Parameters:
aiAgent- The data of the created AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgent
The data of the created AI Agent.
This is a convenience method that creates an instance of theAIAgentData.Builderavoiding the need to create one manually viaAIAgentData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaiAgent(AIAgentData).- Parameters:
aiAgent- a consumer that will call methods onAIAgentData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-