RebootOptions Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. maintenance. models. RebootOptions
- com.
- com.
public final class RebootOptions
extends ExpandableStringEnum<RebootOptions>
Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Reboot |
ALWAYS
Static value Always for Reboot |
|
static final
Reboot |
IF_REQUIRED
Static value If |
|
static final
Reboot |
NEVER
Static value Never for Reboot |
Constructor Summary
| Constructor | Description |
|---|---|
| RebootOptions() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Reboot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Reboot |
fromString(String name)
Creates or finds a Reboot |
|
static
Collection<Reboot |
values()
Gets known Reboot |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALWAYS
public static final RebootOptions ALWAYS
Static value Always for RebootOptions.
IF_REQUIRED
public static final RebootOptions IF_REQUIRED
Static value IfRequired for RebootOptions.
NEVER
public static final RebootOptions NEVER
Static value Never for RebootOptions.
Constructor Details
RebootOptions
@Deprecated
public RebootOptions()
Deprecated
Creates a new instance of RebootOptions value.
Method Details
fromString
public static RebootOptions fromString(String name)
Creates or finds a RebootOptions from its string representation.
Parameters:
Returns:
values
public static Collection<RebootOptions> values()
Gets known RebootOptions values.
Returns: