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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAiAgentResponse.BuilderaiAgent(Consumer<AIAgentData.Builder> aiAgent)The data of the created AI Agent.CreateAiAgentResponse.BuilderaiAgent(AIAgentData aiAgent)The data of the created AI Agent.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
aiAgent
CreateAiAgentResponse.Builder aiAgent(AIAgentData 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
default CreateAiAgentResponse.Builder aiAgent(Consumer<AIAgentData.Builder> 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:
aiAgent(AIAgentData)
-
-