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

com.azure.resourcemanager.eventgrid.models.Sku Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.

There is a newer version: 1.2.0-beta.7
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.eventgrid.models;

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

/**
 * The Sku name of the resource. The possible values are: Basic or Premium.
 */
public final class Sku extends ExpandableStringEnum {
    /**
     * Static value Basic for Sku.
     */
    public static final Sku BASIC = fromString("Basic");

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy