public enum SmsProvider extends Enum<SmsProvider>
| Modifier and Type | Method and Description |
|---|---|
String |
getProviderName() |
void |
setProviderName(String providerName) |
static SmsProvider |
smsProvider(String providerName) |
static SmsProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmsProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmsProvider AWS
public static final SmsProvider EOCEAN
public static final SmsProvider TWILIO
public static SmsProvider[] values()
for (SmsProvider c : SmsProvider.values()) System.out.println(c);
public static SmsProvider 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 static SmsProvider smsProvider(String providerName)
public String getProviderName()
public void setProviderName(String providerName)
Copyright © 2019. All rights reserved.