
com.azure.resourcemanager.automation.models.AutomationAccountState 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.automation.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Gets status of account.
*/
public final class AutomationAccountState extends ExpandableStringEnum {
/**
* Static value Ok for AutomationAccountState.
*/
public static final AutomationAccountState OK = fromString("Ok");
/**
* Static value Unavailable for AutomationAccountState.
*/
public static final AutomationAccountState UNAVAILABLE = fromString("Unavailable");
/**
* Static value Suspended for AutomationAccountState.
*/
public static final AutomationAccountState SUSPENDED = fromString("Suspended");
/**
* Creates a new instance of AutomationAccountState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AutomationAccountState() {
}
/**
* Creates or finds a AutomationAccountState from its string representation.
*
* @param name a name to look for.
* @return the corresponding AutomationAccountState.
*/
public static AutomationAccountState fromString(String name) {
return fromString(name, AutomationAccountState.class);
}
/**
* Gets known AutomationAccountState values.
*
* @return known AutomationAccountState values.
*/
public static Collection values() {
return values(AutomationAccountState.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy