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

com.azure.resourcemanager.storage.models.ShareAccessTier Maven / Gradle / Ivy

There is a newer version: 2.44.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.resourcemanager.storage.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool.
 * FileStorage account can choose Premium.
 */
public final class ShareAccessTier extends ExpandableStringEnum {
    /**
     * Static value TransactionOptimized for ShareAccessTier.
     */
    public static final ShareAccessTier TRANSACTION_OPTIMIZED = fromString("TransactionOptimized");

    /**
     * Static value Hot for ShareAccessTier.
     */
    public static final ShareAccessTier HOT = fromString("Hot");

    /**
     * Static value Cool for ShareAccessTier.
     */
    public static final ShareAccessTier COOL = fromString("Cool");

    /**
     * Static value Premium for ShareAccessTier.
     */
    public static final ShareAccessTier PREMIUM = fromString("Premium");

    /**
     * Creates a new instance of ShareAccessTier value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ShareAccessTier() {
    }

    /**
     * Creates or finds a ShareAccessTier from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding ShareAccessTier.
     */
    @JsonCreator
    public static ShareAccessTier fromString(String name) {
        return fromString(name, ShareAccessTier.class);
    }

    /**
     * Gets known ShareAccessTier values.
     * 
     * @return known ShareAccessTier values.
     */
    public static Collection values() {
        return values(ShareAccessTier.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy