Interface UpdateAiPromptRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAiPromptRequest.Builder,,UpdateAiPromptRequest> QConnectRequest.Builder,SdkBuilder<UpdateAiPromptRequest.Builder,,UpdateAiPromptRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAiPromptRequest
-
Method Summary
Modifier and TypeMethodDescriptionaiPromptId(String aiPromptId) The identifier of the Amazon Q in Connect AI Prompt.assistantId(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.description(String description) The description of the Amazon Q in Connect AI Prompt.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateAiPromptRequest.BuildertemplateConfiguration(Consumer<AIPromptTemplateConfiguration.Builder> templateConfiguration) The configuration of the prompt template for this AI Prompt.templateConfiguration(AIPromptTemplateConfiguration templateConfiguration) The configuration of the prompt template for this AI Prompt.visibilityStatus(String visibilityStatus) The visibility status of the Amazon Q in Connect AI prompt.visibilityStatus(VisibilityStatus visibilityStatus) The visibility status of the Amazon Q in Connect AI prompt.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
-
aiPromptId
The identifier of the Amazon Q in Connect AI Prompt.
- Parameters:
aiPromptId- The identifier of the Amazon Q in Connect AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
description
The description of the Amazon Q in Connect AI Prompt.
- Parameters:
description- The description of the Amazon Q in Connect AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
UpdateAiPromptRequest.Builder templateConfiguration(AIPromptTemplateConfiguration templateConfiguration) The configuration of the prompt template for this AI Prompt.
- Parameters:
templateConfiguration- The configuration of the prompt template for this AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
default UpdateAiPromptRequest.Builder templateConfiguration(Consumer<AIPromptTemplateConfiguration.Builder> templateConfiguration) The configuration of the prompt template for this AI Prompt.
This is a convenience method that creates an instance of theAIPromptTemplateConfiguration.Builderavoiding the need to create one manually viaAIPromptTemplateConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateConfiguration(AIPromptTemplateConfiguration).- Parameters:
templateConfiguration- a consumer that will call methods onAIPromptTemplateConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibilityStatus
The visibility status of the Amazon Q in Connect AI prompt.
- Parameters:
visibilityStatus- The visibility status of the Amazon Q in Connect AI prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibilityStatus
The visibility status of the Amazon Q in Connect AI prompt.
- Parameters:
visibilityStatus- The visibility status of the Amazon Q in Connect AI prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAiPromptRequest.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
UpdateAiPromptRequest.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.
-