Class 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 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).
    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel