Uses of Interface
software.amazon.awssdk.services.bedrockruntime.model.AudioBlock.Builder
Packages that use AudioBlock.Builder
-
Uses of AudioBlock.Builder in software.amazon.awssdk.services.bedrockruntime.model
Methods in software.amazon.awssdk.services.bedrockruntime.model that return AudioBlock.BuilderModifier and TypeMethodDescriptionstatic 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.Builder.error(ErrorBlock error) Error information if the audio block could not be processed or contains invalid data.The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.AudioBlock.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.Builder.source(AudioSource source) The source of the audio data, which can be provided as raw bytes or an S3 location.AudioBlock.toBuilder()Methods in software.amazon.awssdk.services.bedrockruntime.model that return types with arguments of type AudioBlock.BuilderModifier and TypeMethodDescriptionstatic Class<? extends AudioBlock.Builder>AudioBlock.serializableBuilderClass()Method parameters in software.amazon.awssdk.services.bedrockruntime.model with type arguments of type AudioBlock.BuilderModifier and TypeMethodDescriptiondefault 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.