Package com.oracle.bmc.marketplace.model
Class Screenshot.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.Screenshot.Builder
-
- Enclosing class:
- Screenshot
public static class Screenshot.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Screenshotbuild()Screenshot.BuildercontentUrl(String contentUrl)The content URL of the screenshot.Screenshot.Buildercopy(Screenshot model)Screenshot.Builderdescription(String description)A description of the screenshot.Screenshot.BuilderfileExtension(String fileExtension)The file extension of the screenshot.Screenshot.BuildermimeType(String mimeType)The MIME type of the screenshot.Screenshot.Buildername(String name)The name of the screenshot.
-
-
-
Method Detail
-
name
public Screenshot.Builder name(String name)
The name of the screenshot.- Parameters:
name- the value to set- Returns:
- this builder
-
description
public Screenshot.Builder description(String description)
A description of the screenshot.- Parameters:
description- the value to set- Returns:
- this builder
-
contentUrl
public Screenshot.Builder contentUrl(String contentUrl)
The content URL of the screenshot.- Parameters:
contentUrl- the value to set- Returns:
- this builder
-
mimeType
public Screenshot.Builder mimeType(String mimeType)
The MIME type of the screenshot.- Parameters:
mimeType- the value to set- Returns:
- this builder
-
fileExtension
public Screenshot.Builder fileExtension(String fileExtension)
The file extension of the screenshot.- Parameters:
fileExtension- the value to set- Returns:
- this builder
-
build
public Screenshot build()
-
copy
public Screenshot.Builder copy(Screenshot model)
-
-