public static enum Principal.WebIdentityProviders extends java.lang.Enum<Principal.WebIdentityProviders>
Enum Constant and Description |
---|
AllProviders
All providers.
|
Amazon
Amazon.
|
Facebook
Facebook.
|
Google
Google.
|
Modifier and Type | Method and Description |
---|---|
static Principal.WebIdentityProviders |
fromString(java.lang.String webIdentityProvider)
Construct the Services object from a string representing web identity
provider.
|
java.lang.String |
getWebIdentityProvider() |
static Principal.WebIdentityProviders |
valueOf(java.lang.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(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 getWebIdentityProvider()
public static Principal.WebIdentityProviders fromString(java.lang.String webIdentityProvider)
webIdentityProvider
- string representing web identity provider.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.