Interface UnifiedSpeechSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UnifiedSpeechSettings.Builder,,UnifiedSpeechSettings> SdkBuilder<UnifiedSpeechSettings.Builder,,UnifiedSpeechSettings> SdkPojo
- Enclosing class:
UnifiedSpeechSettings
@Mutable
@NotThreadSafe
public static interface UnifiedSpeechSettings.Builder
extends SdkPojo, CopyableBuilder<UnifiedSpeechSettings.Builder,UnifiedSpeechSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UnifiedSpeechSettings.BuilderspeechFoundationModel(Consumer<SpeechFoundationModel.Builder> speechFoundationModel) The foundation model configuration to use for unified speech processing capabilities.speechFoundationModel(SpeechFoundationModel speechFoundationModel) The foundation model configuration to use for unified speech processing capabilities.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
-
speechFoundationModel
The foundation model configuration to use for unified speech processing capabilities.
- Parameters:
speechFoundationModel- The foundation model configuration to use for unified speech processing capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
speechFoundationModel
default UnifiedSpeechSettings.Builder speechFoundationModel(Consumer<SpeechFoundationModel.Builder> speechFoundationModel) The foundation model configuration to use for unified speech processing capabilities.
This is a convenience method that creates an instance of theSpeechFoundationModel.Builderavoiding the need to create one manually viaSpeechFoundationModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospeechFoundationModel(SpeechFoundationModel).- Parameters:
speechFoundationModel- a consumer that will call methods onSpeechFoundationModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-