Package dev.tachyonmcp.api.server.domain
Interface BlobResourceContents.Builder
- Enclosing interface:
BlobResourceContents
public static interface BlobResourceContents.Builder
Builder for
BlobResourceContents.-
Method Summary
Modifier and TypeMethodDescriptionSets the base64-encoded binary content.build()Builds theBlobResourceContentsinstance.Sets the metadata entries.Sets the MIME type of the content.Sets the resource URI.
-
Method Details
-
uri
Sets the resource URI.- Parameters:
uri- the resource URI- Returns:
- this builder
-
blob
Sets the base64-encoded binary content.- Parameters:
blob- the blob data- Returns:
- this builder
-
mimeType
Sets the MIME type of the content.- Parameters:
mimeType- the MIME type, ornull- Returns:
- this builder
-
meta
Sets the metadata entries.- Parameters:
entries- the metadata map, ornull- Returns:
- this builder
-
build
BlobResourceContents build()Builds theBlobResourceContentsinstance.- Returns:
- a new blob resource contents
-