com.azure.storage.blob.models.RehydratePriority 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;
/**
* If an object is in rehydrate pending state then this header is returned with priority of rehydrate. Valid values are
* High and Standard.
*/
public final class RehydratePriority extends ExpandableStringEnum {
/** Static value High for RehydratePriority. */
public static final RehydratePriority HIGH = fromString("High");
/** Static value Standard for RehydratePriority. */
public static final RehydratePriority STANDARD = fromString("Standard");
/**
* Creates a new instance of RehydratePriority value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RehydratePriority() {}
/**
* Creates or finds a RehydratePriority from its string representation.
*
* @param name a name to look for.
* @return the corresponding RehydratePriority.
*/
@JsonCreator
public static RehydratePriority fromString(String name) {
return fromString(name, RehydratePriority.class);
}
/**
* Gets known RehydratePriority values.
*
* @return known RehydratePriority values.
*/
public static Collection values() {
return values(RehydratePriority.class);
}
}