Uses of Interface
software.amazon.awssdk.services.bedrockruntime.model.AudioBlock.Builder
-
Packages that use AudioBlock.Builder Package Description software.amazon.awssdk.services.bedrockruntime.model -
-
Uses of AudioBlock.Builder in software.amazon.awssdk.services.bedrockruntime.model
Methods in software.amazon.awssdk.services.bedrockruntime.model that return AudioBlock.Builder Modifier and Type Method Description static AudioBlock.BuilderAudioBlock. builder()default AudioBlock.BuilderAudioBlock.Builder. error(Consumer<ErrorBlock.Builder> error)Error information if the audio block could not be processed or contains invalid data.AudioBlock.BuilderAudioBlock.Builder. error(ErrorBlock error)Error information if the audio block could not be processed or contains invalid data.AudioBlock.BuilderAudioBlock.Builder. format(String format)The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.AudioBlock.BuilderAudioBlock.Builder. format(AudioFormat format)The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.default AudioBlock.BuilderAudioBlock.Builder. source(Consumer<AudioSource.Builder> source)The source of the audio data, which can be provided as raw bytes or an S3 location.AudioBlock.BuilderAudioBlock.Builder. source(AudioSource source)The source of the audio data, which can be provided as raw bytes or an S3 location.AudioBlock.BuilderAudioBlock. toBuilder()Methods in software.amazon.awssdk.services.bedrockruntime.model that return types with arguments of type AudioBlock.Builder Modifier and Type Method Description static Class<? extends AudioBlock.Builder>AudioBlock. serializableBuilderClass()Method parameters in software.amazon.awssdk.services.bedrockruntime.model with type arguments of type AudioBlock.Builder Modifier and Type Method Description default ContentBlock.BuilderContentBlock.Builder. audio(Consumer<AudioBlock.Builder> audio)An audio content block containing audio data in the conversation.static ContentBlockContentBlock. fromAudio(Consumer<AudioBlock.Builder> audio)Create an instance of this class withContentBlock.audio()initialized to the given value.
-