Package com.anthropic.models.skills
Class SkillSource.Builder
-
- All Implemented Interfaces:
public final class SkillSource.BuilderA builder for SkillSource.
-
-
Method Summary
Modifier and Type Method Description final SkillSource.Buildertype(SkillSource.Type type)Where the Skill comes from. final SkillSource.Buildertype(JsonField<SkillSource.Type> type)Sets Builder.type to an arbitrary JSON value. final SkillSource.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final SkillSource.BuilderputAdditionalProperty(String key, JsonValue value)final SkillSource.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final SkillSource.BuilderremoveAdditionalProperty(String key)final SkillSource.BuilderremoveAllAdditionalProperties(Set<String> keys)final SkillSourcebuild()Returns an immutable instance of SkillSource. -
-
Method Detail
-
type
final SkillSource.Builder type(SkillSource.Type type)
Where the Skill comes from.
Possible values:
"custom": authored by the platform user; private to their workspace"anthropic": published by Anthropic; shared and read-only"anthropic_example": Anthropic-published sample Skill"plugin": resolved from an installed plugin
-
type
final SkillSource.Builder type(JsonField<SkillSource.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 SkillSource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SkillSource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SkillSource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SkillSource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SkillSource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SkillSource build()
Returns an immutable instance of SkillSource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-