Package dev.tachyonmcp.api.server.domain
Interface Annotations.Builder
- Enclosing interface:
Annotations
public static interface Annotations.Builder
Builder for
Annotations.-
Method Summary
Modifier and TypeMethodDescriptiondefault Annotations.BuilderSets the intended audience.Sets the intended audience.build()Builds the annotations.lastModified(@Nullable String lastModified) Sets the last-modified timestamp.Sets the ordering hint.
-
Method Details
-
audience
Sets the intended audience.- Parameters:
elements- the audience roles, ornull- Returns:
- this builder
-
audience
Sets the intended audience.- Parameters:
roles- the audience roles- Returns:
- this builder
-
priority
Sets the ordering hint.- Parameters:
priority- the priority, ornull- Returns:
- this builder
-
lastModified
Sets the last-modified timestamp.- Parameters:
lastModified- the timestamp, ornull- Returns:
- this builder
-
build
Annotations build()Builds the annotations.- Returns:
- the new annotations
-