Class BetaRequestMcpServerToolConfiguration.Builder
-
- All Implemented Interfaces:
public final class BetaRequestMcpServerToolConfiguration.BuilderA builder for BetaRequestMcpServerToolConfiguration.
-
-
Method Summary
-
-
Method Detail
-
allowedTools
final BetaRequestMcpServerToolConfiguration.Builder allowedTools(List<String> allowedTools)
-
allowedTools
final BetaRequestMcpServerToolConfiguration.Builder allowedTools(Optional<List<String>> allowedTools)
Alias for calling Builder.allowedTools with
allowedTools.orElse(null).
-
allowedTools
final BetaRequestMcpServerToolConfiguration.Builder allowedTools(JsonField<List<String>> allowedTools)
Sets Builder.allowedTools to an arbitrary JSON value.
You should usually call Builder.allowedTools with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAllowedTool
final BetaRequestMcpServerToolConfiguration.Builder addAllowedTool(String allowedTool)
Adds a single String to allowedTools.
-
enabled
final BetaRequestMcpServerToolConfiguration.Builder enabled(Boolean enabled)
-
enabled
final BetaRequestMcpServerToolConfiguration.Builder enabled(Boolean enabled)
Alias for Builder.enabled.
This unboxed primitive overload exists for backwards compatibility.
-
enabled
final BetaRequestMcpServerToolConfiguration.Builder enabled(Optional<Boolean> enabled)
Alias for calling Builder.enabled with
enabled.orElse(null).
-
enabled
final BetaRequestMcpServerToolConfiguration.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled 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 BetaRequestMcpServerToolConfiguration.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaRequestMcpServerToolConfiguration.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaRequestMcpServerToolConfiguration.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaRequestMcpServerToolConfiguration.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaRequestMcpServerToolConfiguration.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaRequestMcpServerToolConfiguration build()
Returns an immutable instance of BetaRequestMcpServerToolConfiguration.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-