Class BetaToolChangeMcpToolsetReference.Builder
-
- All Implemented Interfaces:
public final class BetaToolChangeMcpToolsetReference.BuilderA builder for BetaToolChangeMcpToolsetReference.
-
-
Method Summary
Modifier and Type Method Description final BetaToolChangeMcpToolsetReference.BuilderserverName(String serverName)final BetaToolChangeMcpToolsetReference.BuilderserverName(JsonField<String> serverName)Sets Builder.serverName to an arbitrary JSON value. final BetaToolChangeMcpToolsetReference.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaToolChangeMcpToolsetReference.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChangeMcpToolsetReference.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolChangeMcpToolsetReference.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChangeMcpToolsetReference.BuilderremoveAdditionalProperty(String key)final BetaToolChangeMcpToolsetReference.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolChangeMcpToolsetReferencebuild()Returns an immutable instance of BetaToolChangeMcpToolsetReference. -
-
Method Detail
-
serverName
final BetaToolChangeMcpToolsetReference.Builder serverName(String serverName)
-
serverName
final BetaToolChangeMcpToolsetReference.Builder serverName(JsonField<String> serverName)
Sets Builder.serverName to an arbitrary JSON value.
You should usually call Builder.serverName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaToolChangeMcpToolsetReference.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("mcp_toolset_reference")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolChangeMcpToolsetReference.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChangeMcpToolsetReference.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChangeMcpToolsetReference.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChangeMcpToolsetReference.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChangeMcpToolsetReference.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChangeMcpToolsetReference build()
Returns an immutable instance of BetaToolChangeMcpToolsetReference.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.serverName()
-
-
-
-