public static class Screenshot.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Screenshot |
build() |
Screenshot.Builder |
contentUrl(String contentUrl)
The content URL of the screenshot.
|
Screenshot.Builder |
copy(Screenshot model) |
Screenshot.Builder |
description(String description)
A description of the screenshot.
|
Screenshot.Builder |
fileExtension(String fileExtension)
The file extension of the screenshot.
|
Screenshot.Builder |
mimeType(String mimeType)
The MIME type of the screenshot.
|
Screenshot.Builder |
name(String name)
The name of the screenshot.
|
public Screenshot.Builder name(String name)
The name of the screenshot.
name
- the value to setpublic Screenshot.Builder description(String description)
A description of the screenshot.
description
- the value to setpublic Screenshot.Builder contentUrl(String contentUrl)
The content URL of the screenshot.
contentUrl
- the value to setpublic Screenshot.Builder mimeType(String mimeType)
The MIME type of the screenshot.
mimeType
- the value to setpublic Screenshot.Builder fileExtension(String fileExtension)
The file extension of the screenshot.
fileExtension
- the value to setpublic Screenshot build()
public Screenshot.Builder copy(Screenshot model)
Copyright © 2016–2024. All rights reserved.