Interface CreateAiAgentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAiAgentRequest.Builder,,CreateAiAgentRequest> QConnectRequest.Builder,SdkBuilder<CreateAiAgentRequest.Builder,,CreateAiAgentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAiAgentRequest
-
Method Summary
Modifier and TypeMethodDescriptionassistantId(String assistantId) The identifier of the Amazon Q in Connect assistant.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateAiAgentRequest.Builderconfiguration(Consumer<AIAgentConfiguration.Builder> configuration) The configuration of the AI Agent.configuration(AIAgentConfiguration configuration) The configuration of the AI Agent.description(String description) The description of the AI Agent.The name of the AI Agent.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags used to organize, track, or control access for this resource.The type of the AI Agent.type(AIAgentType type) The type of the AI Agent.visibilityStatus(String visibilityStatus) The visibility status of the AI Agent.visibilityStatus(VisibilityStatus visibilityStatus) The visibility status of the AI Agent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assistantId
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration of the AI Agent.
- Parameters:
configuration- The configuration of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateAiAgentRequest.Builder configuration(Consumer<AIAgentConfiguration.Builder> configuration) The configuration of the AI Agent.
This is a convenience method that creates an instance of theAIAgentConfiguration.Builderavoiding the need to create one manually viaAIAgentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(AIAgentConfiguration).- Parameters:
configuration- a consumer that will call methods onAIAgentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the AI Agent.
- Parameters:
description- The description of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the AI Agent.
- Parameters:
name- The name of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource.
- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the AI Agent.
- Parameters:
type- The type of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the AI Agent.
- Parameters:
type- The type of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibilityStatus
The visibility status of the AI Agent.
- Parameters:
visibilityStatus- The visibility status of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibilityStatus
The visibility status of the AI Agent.
- Parameters:
visibilityStatus- The visibility status of the AI Agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAiAgentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAiAgentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-