Interface AIPromptData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AIPromptData.Builder,
,AIPromptData> SdkBuilder<AIPromptData.Builder,
,AIPromptData> SdkPojo
- Enclosing class:
AIPromptData
-
Method Summary
Modifier and TypeMethodDescriptionaiPromptArn
(String aiPromptArn) The Amazon Resource Name (ARN) of the AI Prompt.aiPromptId
(String aiPromptId) The identifier of the Amazon Q in Connect AI prompt.The API format used for this AI Prompt.apiFormat
(AIPromptAPIFormat apiFormat) The API format used for this AI Prompt.assistantArn
(String assistantArn) The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.assistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.description
(String description) The description of the AI Prompt.The identifier of the model used for this AI Prompt.modifiedTime
(Instant modifiedTime) The time the AI Prompt was last modified.The name of the AI PromptThe origin of the AI Prompt.The origin of the AI Prompt.The status of the AI Prompt.The status of the AI Prompt.The tags used to organize, track, or control access for this resource.default AIPromptData.Builder
templateConfiguration
(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.templateType
(String templateType) The type of the prompt template for this AI Prompt.templateType
(AIPromptTemplateType templateType) The type of the prompt template for this AI Prompt.The type of this AI Prompt.type
(AIPromptType type) The type of this AI Prompt.visibilityStatus
(String visibilityStatus) The visibility status of the AI Prompt.visibilityStatus
(VisibilityStatus visibilityStatus) The visibility status of the AI Prompt.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
aiPromptArn
The Amazon Resource Name (ARN) of the AI Prompt.
- Parameters:
aiPromptArn
- The Amazon Resource Name (ARN) of the AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
apiFormat
The API format used for this AI Prompt.
- Parameters:
apiFormat
- The API format used for this AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiFormat
The API format used for this AI Prompt.
- Parameters:
apiFormat
- The API format used for this AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assistantArn
The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Parameters:
assistantArn
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.- 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.
-
description
The description of the AI Prompt.
- Parameters:
description
- The description of the AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelId
The identifier of the model used for this AI Prompt. Model Ids supported are:
CLAUDE_3_HAIKU_20240307_V1
.- Parameters:
modelId
- The identifier of the model used for this AI Prompt. Model Ids supported are:CLAUDE_3_HAIKU_20240307_V1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedTime
The time the AI Prompt was last modified.
- Parameters:
modifiedTime
- The time the AI Prompt was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the AI Prompt
- Parameters:
name
- The name of the AI Prompt- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
The origin of the AI Prompt.
SYSTEM
for a default AI Prompt created by Q in Connect orCUSTOMER
for an AI Prompt created by calling AI Prompt creation APIs.- Parameters:
origin
- The origin of the AI Prompt.SYSTEM
for a default AI Prompt created by Q in Connect orCUSTOMER
for an AI Prompt created by calling AI Prompt creation APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
origin
The origin of the AI Prompt.
SYSTEM
for a default AI Prompt created by Q in Connect orCUSTOMER
for an AI Prompt created by calling AI Prompt creation APIs.- Parameters:
origin
- The origin of the AI Prompt.SYSTEM
for a default AI Prompt created by Q in Connect orCUSTOMER
for an AI Prompt created by calling AI Prompt creation APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the AI Prompt.
- Parameters:
status
- The status of the AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the AI Prompt.
- Parameters:
status
- The status of the AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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 AIPromptData.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.Builder
avoiding the need to create one manually viaAIPromptTemplateConfiguration.builder()
.When the
Consumer
completes,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:
-
templateType
The type of the prompt template for this AI Prompt.
- Parameters:
templateType
- The type of the prompt template for this AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateType
The type of the prompt template for this AI Prompt.
- Parameters:
templateType
- The type of the prompt template for this AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of this AI Prompt.
- Parameters:
type
- The type of this AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of this AI Prompt.
- Parameters:
type
- The type of this 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 AI Prompt.
- Parameters:
visibilityStatus
- The visibility status of the 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 AI Prompt.
- Parameters:
visibilityStatus
- The visibility status of the AI Prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-