Package org.mcpjava.server.content
Interface AudioContent.Builder
- All Superinterfaces:
MetaCarrier.Builder<AudioContent.Builder>
- Enclosing interface:
AudioContent
Builder for creating audio contents
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the audio contentsetAnnotations(Annotations annotations) Sets the annotations for the contentMethods inherited from interface org.mcpjava.server.MetaCarrier.Builder
putMetadata, setMetadata
-
Method Details
-
setAnnotations
Sets the annotations for the content- Parameters:
annotations- the annotations- Returns:
- this builder
-
build
AudioContent build()Builds the audio content- Returns:
- the new audio content
-