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

com.azure.storage.blob.models.RehydratePriority Maven / Gradle / Ivy

There is a newer version: 12.29.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.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 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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy