Enum Constant and Description |
---|
GUEST |
SIGNED_IN |
SIGNED_OUT |
SIGNED_OUT_FEDERATED_TOKENS_INVALID |
SIGNED_OUT_USER_POOLS_TOKENS_INVALID |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static UserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserState SIGNED_IN
public static final UserState GUEST
public static final UserState SIGNED_OUT_FEDERATED_TOKENS_INVALID
public static final UserState SIGNED_OUT_USER_POOLS_TOKENS_INVALID
public static final UserState SIGNED_OUT
public static final UserState UNKNOWN
public static UserState[] values()
for (UserState c : UserState.values()) System.out.println(c);
public static UserState 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 nullCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.