public enum BillingCycle extends Enum<BillingCycle>
Enum Constant and Description |
---|
HOURLY |
MONTHLY |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static BillingCycle |
fromValue(String value) |
String |
value() |
static BillingCycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BillingCycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BillingCycle HOURLY
public static final BillingCycle MONTHLY
public static final BillingCycle UNRECOGNIZED
public static BillingCycle[] values()
for (BillingCycle c : BillingCycle.values()) System.out.println(c);
public static BillingCycle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static BillingCycle fromValue(String value)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.