Package dev.tachyonmcp.api.server.domain
Interface AudioContent.Builder
- Enclosing interface:
AudioContent
public static interface AudioContent.Builder
Builder for
AudioContent.-
Method Summary
Modifier and TypeMethodDescriptionannotations(@Nullable Annotations annotations) Sets the annotations.build()Builds theAudioContentinstance.Sets the base64-encoded audio data.Sets the metadata entries.Sets the MIME type of the audio content.
-
Method Details
-
data
Sets the base64-encoded audio data.- Parameters:
data- the audio data- Returns:
- this builder
-
mimeType
Sets the MIME type of the audio content.- Parameters:
mimeType- the audio MIME type- Returns:
- this builder
-
annotations
Sets the annotations.- Parameters:
annotations- the annotations, ornull- Returns:
- this builder
-
meta
Sets the metadata entries.- Parameters:
entries- the metadata map, ornull- Returns:
- this builder
-
build
AudioContent build()Builds theAudioContentinstance.- Returns:
- a new audio content
-