Enum Class Win32LobAppRestartBehavior

java.lang.Object
java.lang.Enum<Win32LobAppRestartBehavior>
com.microsoft.graph.models.Win32LobAppRestartBehavior
All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum, Serializable, Comparable<Win32LobAppRestartBehavior>, Constable

@Generated("com.microsoft.kiota") public enum Win32LobAppRestartBehavior extends Enum<Win32LobAppRestartBehavior> implements com.microsoft.kiota.serialization.ValuedEnum
Indicates the type of restart action.
  • Enum Constant Details

    • BasedOnReturnCode

      public static final Win32LobAppRestartBehavior BasedOnReturnCode
      Intune will restart the device after running the app installation if the operation returns a reboot code.
    • Allow

      public static final Win32LobAppRestartBehavior Allow
      Intune will not take any specific action on reboot codes resulting from app installations. Intune will not attempt to suppress restarts for MSI apps.
    • Suppress

      public static final Win32LobAppRestartBehavior Suppress
      Intune will attempt to suppress restarts for MSI apps.
    • Force

      public static final Win32LobAppRestartBehavior Force
      Intune will force the device to restart immediately after the app installation operation.
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static Win32LobAppRestartBehavior[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Win32LobAppRestartBehavior valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      @Nonnull public String getValue()
      Specified by:
      getValue in interface com.microsoft.kiota.serialization.ValuedEnum
    • forValue

      @Nullable public static Win32LobAppRestartBehavior forValue(@Nonnull String searchValue)