Class BetaPluginVersion.Builder
-
- All Implemented Interfaces:
public final class BetaPluginVersion.BuilderA builder for BetaPluginVersion.
-
-
Method Summary
Modifier and Type Method Description final BetaPluginVersion.Builderid(String id)The version's ID. final BetaPluginVersion.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final BetaPluginVersion.Buildercomponents(List<BetaPluginComponent> components)What the version contains; null when not enumerated. final BetaPluginVersion.Buildercomponents(Optional<List<BetaPluginComponent>> components)Alias for calling Builder.components with components.orElse(null).final BetaPluginVersion.Buildercomponents(JsonField<List<BetaPluginComponent>> components)Sets Builder.components to an arbitrary JSON value. final BetaPluginVersion.BuildercontentScan(BetaPluginContentScan contentScan)This version's content scan; null when it has not been scanned. final BetaPluginVersion.BuildercontentScan(Optional<BetaPluginContentScan> contentScan)Alias for calling Builder.contentScan with contentScan.orElse(null).final BetaPluginVersion.BuildercontentScan(JsonField<BetaPluginContentScan> contentScan)Sets Builder.contentScan to an arbitrary JSON value. final BetaPluginVersion.BuildercreatedAt(OffsetDateTime createdAt)RFC 3339. final BetaPluginVersion.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final BetaPluginVersion.BuildercreatedBy(BetaPluginVersion.CreatedBy createdBy)Who uploaded this version; null when not recorded. final BetaPluginVersion.BuildercreatedBy(Optional<BetaPluginVersion.CreatedBy> createdBy)Alias for calling Builder.createdBy with createdBy.orElse(null).final BetaPluginVersion.BuildercreatedBy(JsonField<BetaPluginVersion.CreatedBy> createdBy)Sets Builder.createdBy to an arbitrary JSON value. final BetaPluginVersion.BuildercreatedBy(BetaPluginUserActor userActor)Alias for calling createdBy with CreatedBy.ofUserActor(userActor).final BetaPluginVersion.BuildercreatedBy(BetaPluginApiActor apiActor)Alias for calling createdBy with CreatedBy.ofApiActor(apiActor).final BetaPluginVersion.Builderdescription(String description)The manifest's description; null when it declares none. final BetaPluginVersion.Builderdescription(Optional<String> description)Alias for calling Builder.description with description.orElse(null).final BetaPluginVersion.Builderdescription(JsonField<String> description)Sets Builder.description to an arbitrary JSON value. final BetaPluginVersion.BuilderdisplayName(String displayName)The manifest's display name; null when it declares none. final BetaPluginVersion.BuilderdisplayName(Optional<String> displayName)Alias for calling Builder.displayName with displayName.orElse(null).final BetaPluginVersion.BuilderdisplayName(JsonField<String> displayName)Sets Builder.displayName to an arbitrary JSON value. final BetaPluginVersion.BuildermanifestVersion(String manifestVersion)The manifest's version, normalized for display: one leadingvorVis dropped, and the result is returned only if it is 1 to 64 characters, starts with a digit, and uses only ASCII letters, digits,.,+, and-; otherwisenull.final BetaPluginVersion.BuildermanifestVersion(Optional<String> manifestVersion)Alias for calling Builder.manifestVersion with manifestVersion.orElse(null).final BetaPluginVersion.BuildermanifestVersion(JsonField<String> manifestVersion)Sets Builder.manifestVersion to an arbitrary JSON value. final BetaPluginVersion.BuilderpluginId(String pluginId)The Plugin's ID. final BetaPluginVersion.BuilderpluginId(JsonField<String> pluginId)Sets Builder.pluginId to an arbitrary JSON value. final BetaPluginVersion.Builderreach(BetaPluginVersion.Reach reach)How far the version reaches: remote,privileged,contained, ornull, as defined on the Plugin'sreach.final BetaPluginVersion.Builderreach(Optional<BetaPluginVersion.Reach> reach)Alias for calling Builder.reach with reach.orElse(null).final BetaPluginVersion.Builderreach(JsonField<BetaPluginVersion.Reach> reach)Sets Builder.reach to an arbitrary JSON value. final BetaPluginVersion.BuilderreleaseNotes(String releaseNotes)As supplied with the upload; null when none were supplied. final BetaPluginVersion.BuilderreleaseNotes(Optional<String> releaseNotes)Alias for calling Builder.releaseNotes with releaseNotes.orElse(null).final BetaPluginVersion.BuilderreleaseNotes(JsonField<String> releaseNotes)Sets Builder.releaseNotes to an arbitrary JSON value. final BetaPluginVersion.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaPluginVersion.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaPluginVersion.BuilderaddComponent(BetaPluginComponent component)Adds a single BetaPluginComponent to components. final BetaPluginVersion.BuilderapiActorCreatedBy(String apiKeyId)Alias for calling createdBy with the following: BetaPluginApiActor.builder() .apiKeyId(apiKeyId) .build()final BetaPluginVersion.BuilderputAdditionalProperty(String key, JsonValue value)final BetaPluginVersion.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaPluginVersion.BuilderremoveAdditionalProperty(String key)final BetaPluginVersion.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaPluginVersionbuild()Returns an immutable instance of BetaPluginVersion. -
-
Method Detail
-
id
final BetaPluginVersion.Builder id(String id)
The version's ID.
-
id
final BetaPluginVersion.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
components
final BetaPluginVersion.Builder components(List<BetaPluginComponent> components)
What the version contains; null when not enumerated.
-
components
final BetaPluginVersion.Builder components(Optional<List<BetaPluginComponent>> components)
Alias for calling Builder.components with
components.orElse(null).
-
components
final BetaPluginVersion.Builder components(JsonField<List<BetaPluginComponent>> components)
Sets Builder.components to an arbitrary JSON value.
You should usually call Builder.components with a well-typed
List<BetaPluginComponent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
contentScan
final BetaPluginVersion.Builder contentScan(BetaPluginContentScan contentScan)
This version's content scan; null when it has not been scanned.
-
contentScan
final BetaPluginVersion.Builder contentScan(Optional<BetaPluginContentScan> contentScan)
Alias for calling Builder.contentScan with
contentScan.orElse(null).
-
contentScan
final BetaPluginVersion.Builder contentScan(JsonField<BetaPluginContentScan> contentScan)
Sets Builder.contentScan to an arbitrary JSON value.
You should usually call Builder.contentScan with a well-typed BetaPluginContentScan value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final BetaPluginVersion.Builder createdAt(OffsetDateTime createdAt)
RFC 3339.
-
createdAt
final BetaPluginVersion.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdBy
final BetaPluginVersion.Builder createdBy(BetaPluginVersion.CreatedBy createdBy)
Who uploaded this version; null when not recorded.
-
createdBy
final BetaPluginVersion.Builder createdBy(Optional<BetaPluginVersion.CreatedBy> createdBy)
Alias for calling Builder.createdBy with
createdBy.orElse(null).
-
createdBy
final BetaPluginVersion.Builder createdBy(JsonField<BetaPluginVersion.CreatedBy> createdBy)
Sets Builder.createdBy to an arbitrary JSON value.
You should usually call Builder.createdBy with a well-typed CreatedBy value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdBy
final BetaPluginVersion.Builder createdBy(BetaPluginUserActor userActor)
Alias for calling createdBy with
CreatedBy.ofUserActor(userActor).
-
createdBy
final BetaPluginVersion.Builder createdBy(BetaPluginApiActor apiActor)
Alias for calling createdBy with
CreatedBy.ofApiActor(apiActor).
-
description
final BetaPluginVersion.Builder description(String description)
The manifest's description; null when it declares none. The value can be longer than 500 characters, the limit on
descriptionin an uploaded manifest. A description that the manifest takes from aSKILL.mdis cut to its first 500 characters. So if the manifest's description is the first 500 characters of exactly one distinct skilldescriptionincomponents, that skilldescriptionis returned instead.
-
description
final BetaPluginVersion.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final BetaPluginVersion.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.
-
displayName
final BetaPluginVersion.Builder displayName(String displayName)
The manifest's display name; null when it declares none.
-
displayName
final BetaPluginVersion.Builder displayName(Optional<String> displayName)
Alias for calling Builder.displayName with
displayName.orElse(null).
-
displayName
final BetaPluginVersion.Builder displayName(JsonField<String> displayName)
Sets Builder.displayName to an arbitrary JSON value.
You should usually call Builder.displayName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
manifestVersion
final BetaPluginVersion.Builder manifestVersion(String manifestVersion)
The manifest's
version, normalized for display: one leadingvorVis dropped, and the result is returned only if it is 1 to 64 characters, starts with a digit, and uses only ASCII letters, digits,.,+, and-; otherwisenull. For example,"v1.4.0"is returned as"1.4.0", and"latest"asnull. For a synchronized plugin, theversionof itsmarketplace.jsonentry can take the place of the manifest'sversion. It is alsonullfor a version stored before claude.ai began recording this field (August 2026).
-
manifestVersion
final BetaPluginVersion.Builder manifestVersion(Optional<String> manifestVersion)
Alias for calling Builder.manifestVersion with
manifestVersion.orElse(null).
-
manifestVersion
final BetaPluginVersion.Builder manifestVersion(JsonField<String> manifestVersion)
Sets Builder.manifestVersion to an arbitrary JSON value.
You should usually call Builder.manifestVersion with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pluginId
final BetaPluginVersion.Builder pluginId(String pluginId)
The Plugin's ID.
-
pluginId
final BetaPluginVersion.Builder pluginId(JsonField<String> pluginId)
Sets Builder.pluginId to an arbitrary JSON value.
You should usually call Builder.pluginId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reach
final BetaPluginVersion.Builder reach(BetaPluginVersion.Reach reach)
How far the version reaches:
remote,privileged,contained, ornull, as defined on the Plugin'sreach.
-
reach
final BetaPluginVersion.Builder reach(Optional<BetaPluginVersion.Reach> reach)
Alias for calling Builder.reach with
reach.orElse(null).
-
reach
final BetaPluginVersion.Builder reach(JsonField<BetaPluginVersion.Reach> reach)
Sets Builder.reach to an arbitrary JSON value.
You should usually call Builder.reach with a well-typed Reach value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
releaseNotes
final BetaPluginVersion.Builder releaseNotes(String releaseNotes)
As supplied with the upload; null when none were supplied.
-
releaseNotes
final BetaPluginVersion.Builder releaseNotes(Optional<String> releaseNotes)
Alias for calling Builder.releaseNotes with
releaseNotes.orElse(null).
-
releaseNotes
final BetaPluginVersion.Builder releaseNotes(JsonField<String> releaseNotes)
Sets Builder.releaseNotes to an arbitrary JSON value.
You should usually call Builder.releaseNotes 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 BetaPluginVersion.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("plugin_version")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaPluginVersion.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addComponent
final BetaPluginVersion.Builder addComponent(BetaPluginComponent component)
Adds a single BetaPluginComponent to components.
-
apiActorCreatedBy
final BetaPluginVersion.Builder apiActorCreatedBy(String apiKeyId)
Alias for calling createdBy with the following:
BetaPluginApiActor.builder() .apiKeyId(apiKeyId) .build()
-
putAdditionalProperty
final BetaPluginVersion.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaPluginVersion.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaPluginVersion.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaPluginVersion.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaPluginVersion build()
Returns an immutable instance of BetaPluginVersion.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .components() .contentScan() .createdAt() .createdBy() .description() .displayName() .manifestVersion() .pluginId() .reach() .releaseNotes()
-
-
-
-