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

com.azure.resourcemanager.security.models.SubPlan Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.security.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The available sub plans.
 */
public final class SubPlan extends ExpandableStringEnum {
    /**
     * Static value P1 for SubPlan.
     */
    public static final SubPlan P1 = fromString("P1");

    /**
     * Static value P2 for SubPlan.
     */
    public static final SubPlan P2 = fromString("P2");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy