Interface GetAiAgentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAiAgentResponse.Builder,GetAiAgentResponse>,QConnectResponse.Builder,SdkBuilder<GetAiAgentResponse.Builder,GetAiAgentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAiAgentResponse
public static interface GetAiAgentResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<GetAiAgentResponse.Builder,GetAiAgentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAiAgentResponse.BuilderaiAgent(Consumer<AIAgentData.Builder> aiAgent)The data of the AI Agent.GetAiAgentResponse.BuilderaiAgent(AIAgentData aiAgent)The data of the AI Agent.GetAiAgentResponse.BuilderversionNumber(Long versionNumber)The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for theaiAgentIdon 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 Detail
-
aiAgent
GetAiAgentResponse.Builder aiAgent(AIAgentData 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
default GetAiAgentResponse.Builder aiAgent(Consumer<AIAgentData.Builder> aiAgent)
The data of the 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)
-
versionNumber
GetAiAgentResponse.Builder 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 the
aiAgentIdon 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 theaiAgentIdon the request).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-