Package com.anthropic.models.beta.skills
Class BetaSkillSource.Builder
-
- All Implemented Interfaces:
public final class BetaSkillSource.BuilderA builder for BetaSkillSource.
-
-
Method Summary
Modifier and Type Method Description final BetaSkillSource.Buildertype(BetaSkillSource.Type type)Where the Skill comes from. final BetaSkillSource.Buildertype(JsonField<BetaSkillSource.Type> type)Sets Builder.type to an arbitrary JSON value. final BetaSkillSource.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaSkillSource.BuilderputAdditionalProperty(String key, JsonValue value)final BetaSkillSource.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaSkillSource.BuilderremoveAdditionalProperty(String key)final BetaSkillSource.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaSkillSourcebuild()Returns an immutable instance of BetaSkillSource. -
-
Method Detail
-
type
final BetaSkillSource.Builder type(BetaSkillSource.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 BetaSkillSource.Builder type(JsonField<BetaSkillSource.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 BetaSkillSource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaSkillSource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaSkillSource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaSkillSource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaSkillSource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaSkillSource build()
Returns an immutable instance of BetaSkillSource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-