
com.azure.resourcemanager.billing.models.ReservationBillingPlan 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.billing.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Represent the billing plans.
*/
public final class ReservationBillingPlan extends ExpandableStringEnum {
/**
* Static value Upfront for ReservationBillingPlan.
*/
public static final ReservationBillingPlan UPFRONT = fromString("Upfront");
/**
* Static value Monthly for ReservationBillingPlan.
*/
public static final ReservationBillingPlan MONTHLY = fromString("Monthly");
/**
* Creates a new instance of ReservationBillingPlan value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ReservationBillingPlan() {
}
/**
* Creates or finds a ReservationBillingPlan from its string representation.
*
* @param name a name to look for.
* @return the corresponding ReservationBillingPlan.
*/
public static ReservationBillingPlan fromString(String name) {
return fromString(name, ReservationBillingPlan.class);
}
/**
* Gets known ReservationBillingPlan values.
*
* @return known ReservationBillingPlan values.
*/
public static Collection values() {
return values(ReservationBillingPlan.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy