Class ComputerScreenshotContent.Builder
-
- All Implemented Interfaces:
public final class ComputerScreenshotContent.Builder
A builder for ComputerScreenshotContent.
-
-
Method Summary
-
-
Method Detail
-
fileId
final ComputerScreenshotContent.Builder fileId(String fileId)
The identifier of an uploaded file that contains the screenshot.
-
fileId
final ComputerScreenshotContent.Builder fileId(Optional<String> fileId)
Alias for calling Builder.fileId with
fileId.orElse(null)
.
-
fileId
final ComputerScreenshotContent.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
imageUrl
final ComputerScreenshotContent.Builder imageUrl(String imageUrl)
The URL of the screenshot image.
-
imageUrl
final ComputerScreenshotContent.Builder imageUrl(Optional<String> imageUrl)
Alias for calling Builder.imageUrl with
imageUrl.orElse(null)
.
-
imageUrl
final ComputerScreenshotContent.Builder imageUrl(JsonField<String> imageUrl)
Sets Builder.imageUrl to an arbitrary JSON value.
You should usually call Builder.imageUrl 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 ComputerScreenshotContent.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_screenshot")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ComputerScreenshotContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ComputerScreenshotContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ComputerScreenshotContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ComputerScreenshotContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ComputerScreenshotContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ComputerScreenshotContent build()
Returns an immutable instance of ComputerScreenshotContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileId() .imageUrl()
-
-
-
-