Class BetaCodeExecutionTool20250522.Builder
-
- All Implemented Interfaces:
public final class BetaCodeExecutionTool20250522.BuilderA builder for BetaCodeExecutionTool20250522.
-
-
Method Summary
-
-
Method Detail
-
name
final BetaCodeExecutionTool20250522.Builder name(JsonValue name)
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("code_execution")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaCodeExecutionTool20250522.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("code_execution_20250522")This method is primarily for setting the field to an undocumented or not yet supported value.
-
cacheControl
final BetaCodeExecutionTool20250522.Builder cacheControl(BetaCacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final BetaCodeExecutionTool20250522.Builder cacheControl(Optional<BetaCacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final BetaCodeExecutionTool20250522.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 BetaCodeExecutionTool20250522.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCodeExecutionTool20250522.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCodeExecutionTool20250522.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCodeExecutionTool20250522.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCodeExecutionTool20250522.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCodeExecutionTool20250522 build()
Returns an immutable instance of BetaCodeExecutionTool20250522.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-