Serializable
, Comparable<Principal.WebIdentityProviders>
public static enum Principal.WebIdentityProviders extends Enum<Principal.WebIdentityProviders>
Enum Constant | Description |
---|---|
AllProviders |
|
Amazon |
|
Facebook |
|
Google |
Modifier and Type | Method | Description |
---|---|---|
static Principal.WebIdentityProviders |
fromString(String webIdentityProvider) |
Construct the Services object from a string representing web identity provider.
|
String |
getWebIdentityProvider() |
|
static Principal.WebIdentityProviders |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Principal.WebIdentityProviders[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Principal.WebIdentityProviders Facebook
public static final Principal.WebIdentityProviders Google
public static final Principal.WebIdentityProviders Amazon
public static final Principal.WebIdentityProviders AllProviders
public static Principal.WebIdentityProviders[] values()
for (Principal.WebIdentityProviders c : Principal.WebIdentityProviders.values()) System.out.println(c);
public static Principal.WebIdentityProviders 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 Principal.WebIdentityProviders fromString(String webIdentityProvider)
public String getWebIdentityProvider()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.