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