Interface CfnAgentPropsMixin.CustomPromptInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAgentPropsMixin.CustomPromptInputProperty.Jsii$Proxy
- Enclosing class:
CfnAgentPropsMixin
@Stability(Stable)
public static interface CfnAgentPropsMixin.CustomPromptInputProperty
extends software.amazon.jsii.JsiiSerializable
Custom prompt configuration.
Specify either ExistingPrompt or NewPrompt.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.quicksight.*;
CustomPromptInputProperty customPromptInputProperty = CustomPromptInputProperty.builder()
.existingPrompt(CustomPromptProfileProperty.builder()
.modelProfileId("modelProfileId")
.qbsAwsAccountId("qbsAwsAccountId")
.subscriptionId("subscriptionId")
.build())
.newPrompt(CustomPromptInputParametersProperty.builder()
.customInstructions("customInstructions")
.identity("identity")
.outputStyle("outputStyle")
.responseLength("responseLength")
.tone("tone")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAgentPropsMixin.CustomPromptInputPropertystatic final classAn implementation forCfnAgentPropsMixin.CustomPromptInputProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExistingPrompt
Reference to an existing custom prompt profile.Returns union: either
IResolvableorCfnAgentPropsMixin.CustomPromptProfileProperty- See Also:
-
getNewPrompt
Parameters for creating a new custom prompt configuration.Returns union: either
IResolvableorCfnAgentPropsMixin.CustomPromptInputParametersProperty- See Also:
-
builder
-