Class BetaToolReferenceBlock.Builder
-
- All Implemented Interfaces:
public final class BetaToolReferenceBlock.BuilderA builder for BetaToolReferenceBlock.
-
-
Method Summary
Modifier and Type Method Description final BetaToolReferenceBlock.BuildertoolName(String toolName)final BetaToolReferenceBlock.BuildertoolName(JsonField<String> toolName)Sets Builder.toolName to an arbitrary JSON value. final BetaToolReferenceBlock.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaToolReferenceBlock.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolReferenceBlock.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolReferenceBlock.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolReferenceBlock.BuilderremoveAdditionalProperty(String key)final BetaToolReferenceBlock.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolReferenceBlockbuild()Returns an immutable instance of BetaToolReferenceBlock. -
-
Method Detail
-
toolName
final BetaToolReferenceBlock.Builder toolName(String toolName)
-
toolName
final BetaToolReferenceBlock.Builder toolName(JsonField<String> toolName)
Sets Builder.toolName to an arbitrary JSON value.
You should usually call Builder.toolName 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 BetaToolReferenceBlock.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("tool_reference")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolReferenceBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolReferenceBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolReferenceBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolReferenceBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolReferenceBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolReferenceBlock build()
Returns an immutable instance of BetaToolReferenceBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.toolName()
-
-
-
-