Class AudioSegment
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.AudioSegment
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AudioSegment.Builder,AudioSegment>
@Generated("software.amazon.awssdk:codegen")
public final class AudioSegment
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AudioSegment.Builder,AudioSegment>
Contains information about an audio segment retrieved from a knowledge base, including its location and transcription.
This data type is used in the following API operations:
-
Retrieve response – in the
audiofield
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioSegment.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Strings3Uri()The S3 URI where this specific audio segment is stored in the multimodal storage destination.static Class<? extends AudioSegment.Builder>final StringtoString()Returns a string representation of this object.final StringThe text transcription of the audio segment content.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
s3Uri
The S3 URI where this specific audio segment is stored in the multimodal storage destination.
- Returns:
- The S3 URI where this specific audio segment is stored in the multimodal storage destination.
-
transcription
The text transcription of the audio segment content.
- Returns:
- The text transcription of the audio segment content.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AudioSegment.Builder,AudioSegment>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-