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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAudioSegment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudioSegment.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Strings3Uri()The S3 URI where this specific audio segment is stored in the multimodal storage destination.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AudioSegment.Builder>serializableBuilderClass()AudioSegment.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtranscription()The text transcription of the audio segment content.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
s3Uri
public final String 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
public final String transcription()
The text transcription of the audio segment content.
- Returns:
- The text transcription of the audio segment content.
-
toBuilder
public AudioSegment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AudioSegment.Builder,AudioSegment>
-
builder
public static AudioSegment.Builder builder()
-
serializableBuilderClass
public static Class<? extends AudioSegment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-