Interface SampleUtteranceGenerationSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SampleUtteranceGenerationSpecification.Builder,SampleUtteranceGenerationSpecification>,SdkBuilder<SampleUtteranceGenerationSpecification.Builder,SampleUtteranceGenerationSpecification>,SdkPojo
- Enclosing class:
- SampleUtteranceGenerationSpecification
public static interface SampleUtteranceGenerationSpecification.Builder extends SdkPojo, CopyableBuilder<SampleUtteranceGenerationSpecification.Builder,SampleUtteranceGenerationSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SampleUtteranceGenerationSpecification.BuilderbedrockModelSpecification(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification)Sets the value of the BedrockModelSpecification property for this object.SampleUtteranceGenerationSpecification.BuilderbedrockModelSpecification(BedrockModelSpecification bedrockModelSpecification)Sets the value of the BedrockModelSpecification property for this object.SampleUtteranceGenerationSpecification.Builderenabled(Boolean enabled)Specifies whether to enable sample utterance generation or not.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
enabled
SampleUtteranceGenerationSpecification.Builder enabled(Boolean 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:
bedrockModelSpecification(BedrockModelSpecification)
-
-