Package com.oracle.bmc.desktops.model
Enum DesktopDevicePolicy.ClipboardMode
- java.lang.Object
-
- java.lang.Enum<DesktopDevicePolicy.ClipboardMode>
-
- com.oracle.bmc.desktops.model.DesktopDevicePolicy.ClipboardMode
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DesktopDevicePolicy.ClipboardMode>
- Enclosing class:
- DesktopDevicePolicy
public static enum DesktopDevicePolicy.ClipboardMode extends Enum<DesktopDevicePolicy.ClipboardMode> implements BmcEnum
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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Fromdesktop
Full
None
Todesktop
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesktopDevicePolicy.ClipboardMode
create(String key)
String
getValue()
static DesktopDevicePolicy.ClipboardMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DesktopDevicePolicy.ClipboardMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final DesktopDevicePolicy.ClipboardMode None
-
Todesktop
public static final DesktopDevicePolicy.ClipboardMode Todesktop
-
Fromdesktop
public static final DesktopDevicePolicy.ClipboardMode Fromdesktop
-
Full
public static final DesktopDevicePolicy.ClipboardMode Full
-
UnknownEnumValue
public static final DesktopDevicePolicy.ClipboardMode UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DesktopDevicePolicy.ClipboardMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DesktopDevicePolicy.ClipboardMode c : DesktopDevicePolicy.ClipboardMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DesktopDevicePolicy.ClipboardMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static DesktopDevicePolicy.ClipboardMode create(String key)
-
-