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

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

There is a newer version: 4.27.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.messaging.eventgrid.systemevents;

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

/** The status for a storage task. */
public final class StorageTaskCompletedStatus extends ExpandableStringEnum {
    /** Static value Succeeded for StorageTaskCompletedStatus. */
    public static final StorageTaskCompletedStatus SUCCEEDED = fromString("Succeeded");

    /** Static value Failed for StorageTaskCompletedStatus. */
    public static final StorageTaskCompletedStatus FAILED = fromString("Failed");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy