Package com.oracle.bmc.desktops.model
Class DesktopDevicePolicy.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.DesktopDevicePolicy.Builder
-
- Enclosing class:
- DesktopDevicePolicy
public static class DesktopDevicePolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesktopDevicePolicy.Builder
audioMode(DesktopDevicePolicy.AudioMode audioMode)
The audio mode.DesktopDevicePolicy
build()
DesktopDevicePolicy.Builder
cdmMode(DesktopDevicePolicy.CdmMode cdmMode)
The client local drive access mode.DesktopDevicePolicy.Builder
clipboardMode(DesktopDevicePolicy.ClipboardMode clipboardMode)
The clipboard mode.DesktopDevicePolicy.Builder
copy(DesktopDevicePolicy model)
DesktopDevicePolicy.Builder
isDisplayEnabled(Boolean isDisplayEnabled)
Indicates whether the display is enabled.DesktopDevicePolicy.Builder
isKeyboardEnabled(Boolean isKeyboardEnabled)
Indicates whether the keyboard is enabled.DesktopDevicePolicy.Builder
isPointerEnabled(Boolean isPointerEnabled)
Indicates whether the pointer is enabled.DesktopDevicePolicy.Builder
isPrintingEnabled(Boolean isPrintingEnabled)
Indicates whether printing is enabled.
-
-
-
Method Detail
-
clipboardMode
public DesktopDevicePolicy.Builder clipboardMode(DesktopDevicePolicy.ClipboardMode clipboardMode)
The clipboard mode.NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.
- Parameters:
clipboardMode
- the value to set- Returns:
- this builder
-
audioMode
public DesktopDevicePolicy.Builder audioMode(DesktopDevicePolicy.AudioMode audioMode)
The audio mode.NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.
- Parameters:
audioMode
- the value to set- Returns:
- this builder
-
cdmMode
public DesktopDevicePolicy.Builder cdmMode(DesktopDevicePolicy.CdmMode cdmMode)
The client local drive access mode.NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.
- Parameters:
cdmMode
- the value to set- Returns:
- this builder
-
isPrintingEnabled
public DesktopDevicePolicy.Builder isPrintingEnabled(Boolean isPrintingEnabled)
Indicates whether printing is enabled.- Parameters:
isPrintingEnabled
- the value to set- Returns:
- this builder
-
isPointerEnabled
public DesktopDevicePolicy.Builder isPointerEnabled(Boolean isPointerEnabled)
Indicates whether the pointer is enabled.- Parameters:
isPointerEnabled
- the value to set- Returns:
- this builder
-
isKeyboardEnabled
public DesktopDevicePolicy.Builder isKeyboardEnabled(Boolean isKeyboardEnabled)
Indicates whether the keyboard is enabled.- Parameters:
isKeyboardEnabled
- the value to set- Returns:
- this builder
-
isDisplayEnabled
public DesktopDevicePolicy.Builder isDisplayEnabled(Boolean isDisplayEnabled)
Indicates whether the display is enabled.- Parameters:
isDisplayEnabled
- the value to set- Returns:
- this builder
-
build
public DesktopDevicePolicy build()
-
copy
public DesktopDevicePolicy.Builder copy(DesktopDevicePolicy model)
-
-