public static enum RatePlan.DataLimitStrategy extends Enum<RatePlan.DataLimitStrategy>
Modifier and Type | Method and Description |
---|---|
static RatePlan.DataLimitStrategy |
forValue(String value)
Generate a DataLimitStrategy from a string.
|
String |
toString() |
static RatePlan.DataLimitStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RatePlan.DataLimitStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RatePlan.DataLimitStrategy BLOCK
public static final RatePlan.DataLimitStrategy THROTTLE
public static RatePlan.DataLimitStrategy[] values()
for (RatePlan.DataLimitStrategy c : RatePlan.DataLimitStrategy.values()) System.out.println(c);
public static RatePlan.DataLimitStrategy 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 toString()
toString
in class Enum<RatePlan.DataLimitStrategy>
public static RatePlan.DataLimitStrategy forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.