Package com.oracle.bmc.desktops.model
Class DesktopImage.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.DesktopImage.Builder
-
- Enclosing class:
- DesktopImage
public static class DesktopImage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesktopImage
build()
DesktopImage.Builder
copy(DesktopImage model)
DesktopImage.Builder
imageId(String imageId)
The OCID of the desktop image.DesktopImage.Builder
imageName(String imageName)
The name of the desktop image.DesktopImage.Builder
operatingSystem(String operatingSystem)
The operating system of the desktop image, e.g.
-
-
-
Method Detail
-
imageId
public DesktopImage.Builder imageId(String imageId)
The OCID of the desktop image.- Parameters:
imageId
- the value to set- Returns:
- this builder
-
imageName
public DesktopImage.Builder imageName(String imageName)
The name of the desktop image.- Parameters:
imageName
- the value to set- Returns:
- this builder
-
operatingSystem
public DesktopImage.Builder operatingSystem(String operatingSystem)
The operating system of the desktop image, e.g.“Oracle Linux”, “Windows”.
- Parameters:
operatingSystem
- the value to set- Returns:
- this builder
-
build
public DesktopImage build()
-
copy
public DesktopImage.Builder copy(DesktopImage model)
-
-