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

com.azure.messaging.eventgrid.systemevents.AsyncStatus Maven / Gradle / Ivy

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.messaging.eventgrid.systemevents;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Asynchronous operation status of the operation on the app service plan.
 */
public final class AsyncStatus extends ExpandableStringEnum {
    /**
     * Async operation has started.
     */
    public static final AsyncStatus STARTED = fromString("Started");

    /**
     * Async operation has completed.
     */
    public static final AsyncStatus COMPLETED = fromString("Completed");

    /**
     * Async operation failed to complete.
     */
    public static final AsyncStatus FAILED = fromString("Failed");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy