com.azure.messaging.eventgrid.systemevents.StorageTaskCompletedStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-messaging-eventgrid Show documentation
Show all versions of azure-messaging-eventgrid Show documentation
This package contains Microsoft Azure EventGrid SDK.
// 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