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

com.azure.storage.blob.models.ArchiveStatus 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;

/** 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");

    /**
     * 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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy