Interface CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Contains specifications for the sample utterance generation feature.
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.lex.*;
SampleUtteranceGenerationSpecificationProperty sampleUtteranceGenerationSpecificationProperty = SampleUtteranceGenerationSpecificationProperty.builder()
.bedrockModelSpecification(BedrockModelSpecificationProperty.builder()
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.modelArn("modelArn")
.build())
.enabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.BedrockModelSpecificationPropertydefault ObjectSpecifies whether to enable sample utterance generation or not.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBedrockModelSpecification
Returns union: eitherIResolvableorCfnBotPropsMixin.BedrockModelSpecificationProperty- See Also:
-
getEnabled
Specifies whether to enable sample utterance generation or not.Returns union: either
BooleanorIResolvable- See Also:
-
builder
@Stability(Stable) static CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder builder()
-