Class CfnAIPromptVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIPromptVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIPromptVersionProps>
- Enclosing interface:
CfnAIPromptVersionProps
@Stability(Stable)
public static final class CfnAIPromptVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIPromptVersionProps>
A builder for
CfnAIPromptVersionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaiPromptId(String aiPromptId) Sets the value ofCfnAIPromptVersionProps.getAiPromptId()assistantId(String assistantId) Sets the value ofCfnAIPromptVersionProps.getAssistantId()build()Builds the configured instance.modifiedTimeSeconds(Number modifiedTimeSeconds) Sets the value ofCfnAIPromptVersionProps.getModifiedTimeSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aiPromptId
Sets the value ofCfnAIPromptVersionProps.getAiPromptId()- Parameters:
aiPromptId- The identifier of the Amazon Q in Connect AI prompt. This parameter is required.- Returns:
this
-
assistantId
Sets the value ofCfnAIPromptVersionProps.getAssistantId()- Parameters:
assistantId- The identifier of the Amazon Q in Connect assistant. This parameter is required. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
this
-
modifiedTimeSeconds
@Stability(Stable) public CfnAIPromptVersionProps.Builder modifiedTimeSeconds(Number modifiedTimeSeconds) Sets the value ofCfnAIPromptVersionProps.getModifiedTimeSeconds()- Parameters:
modifiedTimeSeconds- The time the AI Prompt version was last modified in seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIPromptVersionProps>- Returns:
- a new instance of
CfnAIPromptVersionProps - Throws:
NullPointerException- if any required attribute was not provided
-