@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum IdentityType extends Enum<IdentityType>
The email identity type. The identity type can be one of the following:
EMAIL_ADDRESS
– The identity is an email address.
DOMAIN
– The identity is a domain.
Enum Constant and Description |
---|
DOMAIN |
EMAIL_ADDRESS |
MANAGED_DOMAIN |
Modifier and Type | Method and Description |
---|---|
static IdentityType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static IdentityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityType EMAIL_ADDRESS
public static final IdentityType DOMAIN
public static final IdentityType MANAGED_DOMAIN
public static IdentityType[] values()
for (IdentityType c : IdentityType.values()) System.out.println(c);
public static IdentityType 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<IdentityType>
public static IdentityType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.