Class CfnAgent.CustomPromptProfileProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAgent.CustomPromptProfileProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgent.CustomPromptProfileProperty>
- Enclosing interface:
CfnAgent.CustomPromptProfileProperty
@Stability(Stable)
public static final class CfnAgent.CustomPromptProfileProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgent.CustomPromptProfileProperty>
A builder for
CfnAgent.CustomPromptProfileProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.modelProfileId(String modelProfileId) Sets the value ofCfnAgent.CustomPromptProfileProperty.getModelProfileId()qbsAwsAccountId(String qbsAwsAccountId) Sets the value ofCfnAgent.CustomPromptProfileProperty.getQbsAwsAccountId()subscriptionId(String subscriptionId) Sets the value ofCfnAgent.CustomPromptProfileProperty.getSubscriptionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelProfileId
@Stability(Stable) public CfnAgent.CustomPromptProfileProperty.Builder modelProfileId(String modelProfileId) Sets the value ofCfnAgent.CustomPromptProfileProperty.getModelProfileId()- Parameters:
modelProfileId- The identifier of the model profile. This parameter is required.- Returns:
this
-
qbsAwsAccountId
@Stability(Stable) public CfnAgent.CustomPromptProfileProperty.Builder qbsAwsAccountId(String qbsAwsAccountId) Sets the value ofCfnAgent.CustomPromptProfileProperty.getQbsAwsAccountId()- Parameters:
qbsAwsAccountId- The QBS AWS account identifier. This parameter is required.- Returns:
this
-
subscriptionId
@Stability(Stable) public CfnAgent.CustomPromptProfileProperty.Builder subscriptionId(String subscriptionId) Sets the value ofCfnAgent.CustomPromptProfileProperty.getSubscriptionId()- Parameters:
subscriptionId- The subscription identifier. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgent.CustomPromptProfileProperty>- Returns:
- a new instance of
CfnAgent.CustomPromptProfileProperty - Throws:
NullPointerException- if any required attribute was not provided
-