Package com.oracle.bmc.desktops.model
Class DesktopDevicePolicy
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.desktops.model.DesktopDevicePolicy
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220618") public final class DesktopDevicePolicy extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.
Note: Objects should always be created or deserialized using theDesktopDevicePolicy.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDesktopDevicePolicy.Builder
, which maintain a set of all explicitly set fields calledDesktopDevicePolicy.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DesktopDevicePolicy.AudioMode
The audio mode.static class
DesktopDevicePolicy.Builder
static class
DesktopDevicePolicy.CdmMode
The client local drive access mode.static class
DesktopDevicePolicy.ClipboardMode
The clipboard mode.
-
Constructor Summary
Constructors Constructor Description DesktopDevicePolicy(DesktopDevicePolicy.ClipboardMode clipboardMode, DesktopDevicePolicy.AudioMode audioMode, DesktopDevicePolicy.CdmMode cdmMode, Boolean isPrintingEnabled, Boolean isPointerEnabled, Boolean isKeyboardEnabled, Boolean isDisplayEnabled)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesktopDevicePolicy.Builder
builder()
Create a new builder.boolean
equals(Object o)
DesktopDevicePolicy.AudioMode
getAudioMode()
The audio mode.DesktopDevicePolicy.CdmMode
getCdmMode()
The client local drive access mode.DesktopDevicePolicy.ClipboardMode
getClipboardMode()
The clipboard mode.Boolean
getIsDisplayEnabled()
Indicates whether the display is enabled.Boolean
getIsKeyboardEnabled()
Indicates whether the keyboard is enabled.Boolean
getIsPointerEnabled()
Indicates whether the pointer is enabled.Boolean
getIsPrintingEnabled()
Indicates whether printing is enabled.int
hashCode()
DesktopDevicePolicy.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DesktopDevicePolicy
@Deprecated @ConstructorProperties({"clipboardMode","audioMode","cdmMode","isPrintingEnabled","isPointerEnabled","isKeyboardEnabled","isDisplayEnabled"}) public DesktopDevicePolicy(DesktopDevicePolicy.ClipboardMode clipboardMode, DesktopDevicePolicy.AudioMode audioMode, DesktopDevicePolicy.CdmMode cdmMode, Boolean isPrintingEnabled, Boolean isPointerEnabled, Boolean isKeyboardEnabled, Boolean isDisplayEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static DesktopDevicePolicy.Builder builder()
Create a new builder.
-
toBuilder
public DesktopDevicePolicy.Builder toBuilder()
-
getClipboardMode
public DesktopDevicePolicy.ClipboardMode getClipboardMode()
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.
- Returns:
- the value
-
getAudioMode
public DesktopDevicePolicy.AudioMode getAudioMode()
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.
- Returns:
- the value
-
getCdmMode
public DesktopDevicePolicy.CdmMode getCdmMode()
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.
- Returns:
- the value
-
getIsPrintingEnabled
public Boolean getIsPrintingEnabled()
Indicates whether printing is enabled.- Returns:
- the value
-
getIsPointerEnabled
public Boolean getIsPointerEnabled()
Indicates whether the pointer is enabled.- Returns:
- the value
-
getIsKeyboardEnabled
public Boolean getIsKeyboardEnabled()
Indicates whether the keyboard is enabled.- Returns:
- the value
-
getIsDisplayEnabled
public Boolean getIsDisplayEnabled()
Indicates whether the display is enabled.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-