Class BetaToolReferenceBlockParam.Builder
-
- All Implemented Interfaces:
public final class BetaToolReferenceBlockParam.BuilderA builder for BetaToolReferenceBlockParam.
-
-
Method Summary
-
-
Method Detail
-
toolName
final BetaToolReferenceBlockParam.Builder toolName(String toolName)
-
toolName
final BetaToolReferenceBlockParam.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 BetaToolReferenceBlockParam.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.
-
cacheControl
final BetaToolReferenceBlockParam.Builder cacheControl(BetaCacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final BetaToolReferenceBlockParam.Builder cacheControl(Optional<BetaCacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final BetaToolReferenceBlockParam.Builder cacheControl(JsonField<BetaCacheControlEphemeral> cacheControl)
Sets Builder.cacheControl to an arbitrary JSON value.
You should usually call Builder.cacheControl with a well-typed BetaCacheControlEphemeral value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolReferenceBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolReferenceBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolReferenceBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolReferenceBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolReferenceBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolReferenceBlockParam build()
Returns an immutable instance of BetaToolReferenceBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.toolName()
-
-
-
-