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

com.azure.resourcemanager.newrelicobservability.models.BillingCycle 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.newrelicobservability.models;

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

/**
 * Different usage type like YEARLY/MONTHLY.
 */
public final class BillingCycle extends ExpandableStringEnum {
    /**
     * Static value YEARLY for BillingCycle.
     */
    public static final BillingCycle YEARLY = fromString("YEARLY");

    /**
     * Static value MONTHLY for BillingCycle.
     */
    public static final BillingCycle MONTHLY = fromString("MONTHLY");

    /**
     * Static value WEEKLY for BillingCycle.
     */
    public static final BillingCycle WEEKLY = fromString("WEEKLY");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy