@Generated(value="software.amazon.awssdk:codegen") public enum AuthorizationType extends Enum<AuthorizationType>
The authorization type. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
| Enum Constant and Description |
|---|
AWS_IAM |
CUSTOM |
JWT |
NONE |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<AuthorizationType> |
knownValues()
|
String |
toString() |
static AuthorizationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationType NONE
public static final AuthorizationType AWS_IAM
public static final AuthorizationType CUSTOM
public static final AuthorizationType JWT
public static final AuthorizationType UNKNOWN_TO_SDK_VERSION
public static AuthorizationType[] values()
for (AuthorizationType c : AuthorizationType.values()) System.out.println(c);
public static AuthorizationType 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 String toString()
toString in class Enum<AuthorizationType>public static AuthorizationType fromValue(String value)
value - real valuepublic static Set<AuthorizationType> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known AuthorizationTypesCopyright © 2020. All rights reserved.