Class BetaPluginComponent.Builder
-
- All Implemented Interfaces:
public final class BetaPluginComponent.BuilderA builder for BetaPluginComponent.
-
-
Method Summary
-
-
Method Detail
-
description
final BetaPluginComponent.Builder description(String description)
What the component declares about itself; always null for MCP servers, hooks, and CLIs.
-
description
final BetaPluginComponent.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final BetaPluginComponent.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaPluginComponent.Builder name(String name)
The component's name: a skill's, command's or agent's name, an MCP server's key in the manifest, the event a hook runs on, or a CLI's executable.
-
name
final BetaPluginComponent.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaPluginComponent.Builder type(BetaPluginComponent.Type type)
The kind of component.
-
type
final BetaPluginComponent.Builder type(JsonField<BetaPluginComponent.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaPluginComponent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaPluginComponent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaPluginComponent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaPluginComponent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaPluginComponent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaPluginComponent build()
Returns an immutable instance of BetaPluginComponent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.description() .name() .type()
-
-
-
-