com.azure.storage.blob.models.ArchiveStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-storage-blob Show documentation
Show all versions of azure-storage-blob Show documentation
This module contains client library for Microsoft Azure Blob Storage.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.storage.blob.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for ArchiveStatus. */
public final class ArchiveStatus extends ExpandableStringEnum {
/** Static value rehydrate-pending-to-hot for ArchiveStatus. */
public static final ArchiveStatus REHYDRATE_PENDING_TO_HOT = fromString("rehydrate-pending-to-hot");
/** Static value rehydrate-pending-to-cool for ArchiveStatus. */
public static final ArchiveStatus REHYDRATE_PENDING_TO_COOL = fromString("rehydrate-pending-to-cool");
/** Static value rehydrate-pending-to-cold for ArchiveStatus. */
public static final ArchiveStatus REHYDRATE_PENDING_TO_COLD = fromString("rehydrate-pending-to-cold");
/**
* Creates a new instance of ArchiveStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ArchiveStatus() {}
/**
* Creates or finds a ArchiveStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding ArchiveStatus.
*/
@JsonCreator
public static ArchiveStatus fromString(String name) {
return fromString(name, ArchiveStatus.class);
}
/**
* Gets known ArchiveStatus values.
*
* @return known ArchiveStatus values.
*/
public static Collection values() {
return values(ArchiveStatus.class);
}
}