Package org.mcpjava.server.content
Interface ImageContent.Builder
- All Superinterfaces:
MetaCarrier.Builder<ImageContent.Builder>
- Enclosing interface:
ImageContent
Builder for creating image contents
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the image 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
ImageContent build()Builds the image content- Returns:
- the new image content
-