com.azure.resourcemanager.automation.models.JobStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2022-02-22.
The newest version!
// 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 or sets the status of the job.
*/
public final class JobStatus extends ExpandableStringEnum {
/**
* Static value New for JobStatus.
*/
public static final JobStatus NEW = fromString("New");
/**
* Static value Activating for JobStatus.
*/
public static final JobStatus ACTIVATING = fromString("Activating");
/**
* Static value Running for JobStatus.
*/
public static final JobStatus RUNNING = fromString("Running");
/**
* Static value Completed for JobStatus.
*/
public static final JobStatus COMPLETED = fromString("Completed");
/**
* Static value Failed for JobStatus.
*/
public static final JobStatus FAILED = fromString("Failed");
/**
* Static value Stopped for JobStatus.
*/
public static final JobStatus STOPPED = fromString("Stopped");
/**
* Static value Blocked for JobStatus.
*/
public static final JobStatus BLOCKED = fromString("Blocked");
/**
* Static value Suspended for JobStatus.
*/
public static final JobStatus SUSPENDED = fromString("Suspended");
/**
* Static value Disconnected for JobStatus.
*/
public static final JobStatus DISCONNECTED = fromString("Disconnected");
/**
* Static value Suspending for JobStatus.
*/
public static final JobStatus SUSPENDING = fromString("Suspending");
/**
* Static value Stopping for JobStatus.
*/
public static final JobStatus STOPPING = fromString("Stopping");
/**
* Static value Resuming for JobStatus.
*/
public static final JobStatus RESUMING = fromString("Resuming");
/**
* Static value Removing for JobStatus.
*/
public static final JobStatus REMOVING = fromString("Removing");
/**
* Creates a new instance of JobStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public JobStatus() {
}
/**
* Creates or finds a JobStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding JobStatus.
*/
public static JobStatus fromString(String name) {
return fromString(name, JobStatus.class);
}
/**
* Gets known JobStatus values.
*
* @return known JobStatus values.
*/
public static Collection values() {
return values(JobStatus.class);
}
}