public enum IdentityProvider extends java.lang.Enum<IdentityProvider>
Enum Constant and Description |
---|
AMAZON |
DEVELOPER |
FACEBOOK |
GOOGLE |
TWITTER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.String other)
Utility comparison for the String value of the enum
|
java.lang.String |
toString() |
static IdentityProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdentityProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityProvider AMAZON
public static final IdentityProvider FACEBOOK
public static final IdentityProvider GOOGLE
public static final IdentityProvider TWITTER
public static final IdentityProvider DEVELOPER
public static IdentityProvider[] values()
for (IdentityProvider c : IdentityProvider.values()) System.out.println(c);
public static IdentityProvider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<IdentityProvider>
public boolean equals(java.lang.String other)
other
- The String that is being compared to the IdentityProvider's string valueCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.