
com.azure.resourcemanager.maintenance.models.RebootOptions Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.maintenance.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* 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.
*/
public final class RebootOptions extends ExpandableStringEnum {
/**
* Static value IfRequired for RebootOptions.
*/
public static final RebootOptions IF_REQUIRED = fromString("IfRequired");
/**
* Static value Never for RebootOptions.
*/
public static final RebootOptions NEVER = fromString("Never");
/**
* Static value Always for RebootOptions.
*/
public static final RebootOptions ALWAYS = fromString("Always");
/**
* Creates a new instance of RebootOptions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RebootOptions() {
}
/**
* Creates or finds a RebootOptions from its string representation.
*
* @param name a name to look for.
* @return the corresponding RebootOptions.
*/
public static RebootOptions fromString(String name) {
return fromString(name, RebootOptions.class);
}
/**
* Gets known RebootOptions values.
*
* @return known RebootOptions values.
*/
public static Collection values() {
return values(RebootOptions.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy