Class BetaServerToolUseBlock.Builder
-
- All Implemented Interfaces:
public final class BetaServerToolUseBlock.BuilderA builder for BetaServerToolUseBlock.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaServerToolUseBlock.Builder id(String id)
-
id
final BetaServerToolUseBlock.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
input
final BetaServerToolUseBlock.Builder input(JsonValue input)
-
name
final BetaServerToolUseBlock.Builder name(BetaServerToolUseBlock.Name name)
-
name
final BetaServerToolUseBlock.Builder name(JsonField<BetaServerToolUseBlock.Name> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed Name value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaServerToolUseBlock.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("server_tool_use")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaServerToolUseBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaServerToolUseBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaServerToolUseBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaServerToolUseBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaServerToolUseBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaServerToolUseBlock build()
Returns an immutable instance of BetaServerToolUseBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .input() .name()
-
-
-
-