All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.storage.models.RunStatusEnum Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show 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.storage.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Represents the status of the execution.
 */
public final class RunStatusEnum extends ExpandableStringEnum {
    /**
     * Static value InProgress for RunStatusEnum.
     */
    public static final RunStatusEnum IN_PROGRESS = fromString("InProgress");

    /**
     * Static value Finished for RunStatusEnum.
     */
    public static final RunStatusEnum FINISHED = fromString("Finished");

    /**
     * Creates a new instance of RunStatusEnum value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public RunStatusEnum() {
    }

    /**
     * Creates or finds a RunStatusEnum from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding RunStatusEnum.
     */
    @JsonCreator
    public static RunStatusEnum fromString(String name) {
        return fromString(name, RunStatusEnum.class);
    }

    /**
     * Gets known RunStatusEnum values.
     * 
     * @return known RunStatusEnum values.
     */
    public static Collection values() {
        return values(RunStatusEnum.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy