Package com.anthropic.models.models
Class CapabilitySupport.Builder
-
- All Implemented Interfaces:
public final class CapabilitySupport.BuilderA builder for CapabilitySupport.
-
-
Method Summary
Modifier and Type Method Description final CapabilitySupport.Buildersupported(Boolean supported)Whether this capability is supported by the model. final CapabilitySupport.Buildersupported(JsonField<Boolean> supported)Sets Builder.supported to an arbitrary JSON value. final CapabilitySupport.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final CapabilitySupport.BuilderputAdditionalProperty(String key, JsonValue value)final CapabilitySupport.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final CapabilitySupport.BuilderremoveAdditionalProperty(String key)final CapabilitySupport.BuilderremoveAllAdditionalProperties(Set<String> keys)final CapabilitySupportbuild()Returns an immutable instance of CapabilitySupport. -
-
Method Detail
-
supported
final CapabilitySupport.Builder supported(Boolean supported)
Whether this capability is supported by the model.
-
supported
final CapabilitySupport.Builder supported(JsonField<Boolean> supported)
Sets Builder.supported to an arbitrary JSON value.
You should usually call Builder.supported with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CapabilitySupport.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CapabilitySupport.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CapabilitySupport.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CapabilitySupport.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CapabilitySupport.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CapabilitySupport build()
Returns an immutable instance of CapabilitySupport.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.supported()
-
-
-
-