Class CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbedrockModelSpecification(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelSpecification) bedrockModelSpecification(IResolvable bedrockModelSpecification) build()Builds the configured instance.enabled(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bedrockModelSpecification
@Stability(Stable) public CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder bedrockModelSpecification(IResolvable bedrockModelSpecification) Sets the value ofCfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.getBedrockModelSpecification()- Parameters:
bedrockModelSpecification- the value to be set.- Returns:
this
-
bedrockModelSpecification
@Stability(Stable) public CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder bedrockModelSpecification(CfnBotPropsMixin.BedrockModelSpecificationProperty bedrockModelSpecification) Sets the value ofCfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.getBedrockModelSpecification()- Parameters:
bedrockModelSpecification- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Specifies whether to enable sample utterance generation or not.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Specifies whether to enable sample utterance generation or not.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-