Class BetaToolComputerUse20241022.Builder
-
- All Implemented Interfaces:
public final class BetaToolComputerUse20241022.BuilderA builder for BetaToolComputerUse20241022.
-
-
Method Summary
-
-
Method Detail
-
displayHeightPx
final BetaToolComputerUse20241022.Builder displayHeightPx(Long displayHeightPx)
The height of the display in pixels.
-
displayHeightPx
final BetaToolComputerUse20241022.Builder displayHeightPx(JsonField<Long> displayHeightPx)
Sets Builder.displayHeightPx to an arbitrary JSON value.
You should usually call Builder.displayHeightPx with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
displayWidthPx
final BetaToolComputerUse20241022.Builder displayWidthPx(Long displayWidthPx)
The width of the display in pixels.
-
displayWidthPx
final BetaToolComputerUse20241022.Builder displayWidthPx(JsonField<Long> displayWidthPx)
Sets Builder.displayWidthPx to an arbitrary JSON value.
You should usually call Builder.displayWidthPx with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaToolComputerUse20241022.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("computer")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaToolComputerUse20241022.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("computer_20241022")This method is primarily for setting the field to an undocumented or not yet supported value.
-
cacheControl
final BetaToolComputerUse20241022.Builder cacheControl(BetaCacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final BetaToolComputerUse20241022.Builder cacheControl(Optional<BetaCacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final BetaToolComputerUse20241022.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.
-
displayNumber
final BetaToolComputerUse20241022.Builder displayNumber(Long displayNumber)
The X11 display number (e.g. 0, 1) for the display.
-
displayNumber
final BetaToolComputerUse20241022.Builder displayNumber(Long displayNumber)
Alias for Builder.displayNumber.
This unboxed primitive overload exists for backwards compatibility.
-
displayNumber
final BetaToolComputerUse20241022.Builder displayNumber(Optional<Long> displayNumber)
Alias for calling Builder.displayNumber with
displayNumber.orElse(null).
-
displayNumber
final BetaToolComputerUse20241022.Builder displayNumber(JsonField<Long> displayNumber)
Sets Builder.displayNumber to an arbitrary JSON value.
You should usually call Builder.displayNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolComputerUse20241022.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolComputerUse20241022.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolComputerUse20241022.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolComputerUse20241022.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolComputerUse20241022.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolComputerUse20241022 build()
Returns an immutable instance of BetaToolComputerUse20241022.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.displayHeightPx() .displayWidthPx()
-
-
-
-