Interface SampleUtteranceGenerationSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SampleUtteranceGenerationSpecification.Builder,,SampleUtteranceGenerationSpecification> SdkBuilder<SampleUtteranceGenerationSpecification.Builder,,SampleUtteranceGenerationSpecification> SdkPojo
- Enclosing class:
SampleUtteranceGenerationSpecification
@Mutable
@NotThreadSafe
public static interface SampleUtteranceGenerationSpecification.Builder
extends SdkPojo, CopyableBuilder<SampleUtteranceGenerationSpecification.Builder,SampleUtteranceGenerationSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockModelSpecification(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification) Sets the value of the BedrockModelSpecification property for this object.bedrockModelSpecification(BedrockModelSpecification bedrockModelSpecification) Sets the value of the BedrockModelSpecification property for this object.Specifies whether to enable sample utterance generation or not.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
Specifies whether to enable sample utterance generation or not.
- Parameters:
enabled- Specifies whether to enable sample utterance generation or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelSpecification
SampleUtteranceGenerationSpecification.Builder bedrockModelSpecification(BedrockModelSpecification bedrockModelSpecification) Sets the value of the BedrockModelSpecification property for this object.- Parameters:
bedrockModelSpecification- The new value for the BedrockModelSpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelSpecification
default SampleUtteranceGenerationSpecification.Builder bedrockModelSpecification(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification) Sets the value of the BedrockModelSpecification property for this object. This is a convenience method that creates an instance of theBedrockModelSpecification.Builderavoiding the need to create one manually viaBedrockModelSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockModelSpecification(BedrockModelSpecification).- Parameters:
bedrockModelSpecification- a consumer that will call methods onBedrockModelSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-