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.BuilderaudioMode(DesktopDevicePolicy.AudioMode audioMode)The audio mode.DesktopDevicePolicybuild()DesktopDevicePolicy.BuildercdmMode(DesktopDevicePolicy.CdmMode cdmMode)The client local drive access mode.DesktopDevicePolicy.BuilderclipboardMode(DesktopDevicePolicy.ClipboardMode clipboardMode)The clipboard mode.DesktopDevicePolicy.Buildercopy(DesktopDevicePolicy model)DesktopDevicePolicy.BuilderisDisplayEnabled(Boolean isDisplayEnabled)Indicates whether the display is enabled.DesktopDevicePolicy.BuilderisKeyboardEnabled(Boolean isKeyboardEnabled)Indicates whether the keyboard is enabled.DesktopDevicePolicy.BuilderisPointerEnabled(Boolean isPointerEnabled)Indicates whether the pointer is enabled.DesktopDevicePolicy.BuilderisPrintingEnabled(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)
-
-