Class ContextManagementCapability.Builder
-
- All Implemented Interfaces:
public final class ContextManagementCapability.BuilderA builder for ContextManagementCapability.
-
-
Method Summary
-
-
Method Detail
-
clearThinking20251015
final ContextManagementCapability.Builder clearThinking20251015(CapabilitySupport clearThinking20251015)
Indicates whether a capability is supported.
-
clearThinking20251015
final ContextManagementCapability.Builder clearThinking20251015(Optional<CapabilitySupport> clearThinking20251015)
Alias for calling Builder.clearThinking20251015 with
clearThinking20251015.orElse(null).
-
clearThinking20251015
final ContextManagementCapability.Builder clearThinking20251015(JsonField<CapabilitySupport> clearThinking20251015)
Sets Builder.clearThinking20251015 to an arbitrary JSON value.
You should usually call Builder.clearThinking20251015 with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clearToolUses20250919
final ContextManagementCapability.Builder clearToolUses20250919(CapabilitySupport clearToolUses20250919)
Indicates whether a capability is supported.
-
clearToolUses20250919
final ContextManagementCapability.Builder clearToolUses20250919(Optional<CapabilitySupport> clearToolUses20250919)
Alias for calling Builder.clearToolUses20250919 with
clearToolUses20250919.orElse(null).
-
clearToolUses20250919
final ContextManagementCapability.Builder clearToolUses20250919(JsonField<CapabilitySupport> clearToolUses20250919)
Sets Builder.clearToolUses20250919 to an arbitrary JSON value.
You should usually call Builder.clearToolUses20250919 with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
compact20260112
final ContextManagementCapability.Builder compact20260112(CapabilitySupport compact20260112)
Indicates whether a capability is supported.
-
compact20260112
final ContextManagementCapability.Builder compact20260112(Optional<CapabilitySupport> compact20260112)
Alias for calling Builder.compact20260112 with
compact20260112.orElse(null).
-
compact20260112
final ContextManagementCapability.Builder compact20260112(JsonField<CapabilitySupport> compact20260112)
Sets Builder.compact20260112 to an arbitrary JSON value.
You should usually call Builder.compact20260112 with a well-typed CapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
supported
final ContextManagementCapability.Builder supported(Boolean supported)
Whether this capability is supported by the model.
-
supported
final ContextManagementCapability.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 ContextManagementCapability.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ContextManagementCapability.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ContextManagementCapability.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ContextManagementCapability.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ContextManagementCapability.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ContextManagementCapability build()
Returns an immutable instance of ContextManagementCapability.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.clearThinking20251015() .clearToolUses20250919() .compact20260112() .supported()
-
-
-
-