Interface GetAiAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAiAgentResponse.Builder,
,GetAiAgentResponse> QConnectResponse.Builder
,SdkBuilder<GetAiAgentResponse.Builder,
,GetAiAgentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAiAgentResponse
@Mutable
@NotThreadSafe
public static interface GetAiAgentResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<GetAiAgentResponse.Builder,GetAiAgentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAiAgentResponse.Builder
aiAgent
(Consumer<AIAgentData.Builder> aiAgent) The data of the AI Agent.aiAgent
(AIAgentData aiAgent) The data of the AI Agent.versionNumber
(Long versionNumber) The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for theaiAgentId
on the request).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 Details
-
aiAgent
The data of the AI Agent.
- Parameters:
aiAgent
- The data of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgent
The data of the AI Agent.
This is a convenience method that creates an instance of theAIAgentData.Builder
avoiding the need to create one manually viaAIAgentData.builder()
.When the
Consumer
completes,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:
-
versionNumber
The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for the
aiAgentId
on the request).- Parameters:
versionNumber
- The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for theaiAgentId
on the request).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-