Enum AuthFlowType
- java.lang.Object
-
- java.lang.Enum<AuthFlowType>
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.AuthFlowType
-
- All Implemented Interfaces:
Serializable,Comparable<AuthFlowType>
@Generated("software.amazon.awssdk:codegen") public enum AuthFlowType extends Enum<AuthFlowType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_NO_SRP_AUTHADMIN_USER_PASSWORD_AUTHCUSTOM_AUTHREFRESH_TOKENREFRESH_TOKEN_AUTHUNKNOWN_TO_SDK_VERSIONUSER_PASSWORD_AUTHUSER_SRP_AUTH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthFlowTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<AuthFlowType>knownValues()StringtoString()static AuthFlowTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthFlowType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_SRP_AUTH
public static final AuthFlowType USER_SRP_AUTH
-
REFRESH_TOKEN_AUTH
public static final AuthFlowType REFRESH_TOKEN_AUTH
-
REFRESH_TOKEN
public static final AuthFlowType REFRESH_TOKEN
-
CUSTOM_AUTH
public static final AuthFlowType CUSTOM_AUTH
-
ADMIN_NO_SRP_AUTH
public static final AuthFlowType ADMIN_NO_SRP_AUTH
-
USER_PASSWORD_AUTH
public static final AuthFlowType USER_PASSWORD_AUTH
-
ADMIN_USER_PASSWORD_AUTH
public static final AuthFlowType ADMIN_USER_PASSWORD_AUTH
-
UNKNOWN_TO_SDK_VERSION
public static final AuthFlowType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static AuthFlowType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthFlowType c : AuthFlowType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthFlowType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<AuthFlowType>
-
fromValue
public static AuthFlowType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- AuthFlowType corresponding to the value
-
knownValues
public static Set<AuthFlowType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownAuthFlowTypes
-
-