@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 the DesktopDevicePolicy.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 the DesktopDevicePolicy.Builder
, which maintain a
set of all explicitly set fields called DesktopDevicePolicy.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and 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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DesktopDevicePolicy(DesktopDevicePolicy.ClipboardMode clipboardMode,
DesktopDevicePolicy.AudioMode audioMode,
DesktopDevicePolicy.CdmMode cdmMode,
Boolean isPrintingEnabled,
Boolean isPointerEnabled,
Boolean isKeyboardEnabled,
Boolean isDisplayEnabled)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static DesktopDevicePolicy.Builder builder()
Create a new builder.
public DesktopDevicePolicy.Builder toBuilder()
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.
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.
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.
public Boolean getIsPrintingEnabled()
Indicates whether printing is enabled.
public Boolean getIsPointerEnabled()
Indicates whether the pointer is enabled.
public Boolean getIsKeyboardEnabled()
Indicates whether the keyboard is enabled.
public Boolean getIsDisplayEnabled()
Indicates whether the display is enabled.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.