Package software.amazon.awssdk.core
Class CredentialType
- java.lang.Object
-
- software.amazon.awssdk.core.CredentialType
-
public final class CredentialType extends Object
Class that identifies the type of credentials typically used by the service to authorize an api request.
-
-
Field Summary
Fields Modifier and Type Field Description static CredentialType
TOKEN
Credential type that uses Bearer Token Authorization to authorize a request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
static CredentialType
of(String value)
Retrieves the Credential Type for a given value.String
toString()
-
-
-
Field Detail
-
TOKEN
public static final CredentialType TOKEN
Credential type that uses Bearer Token Authorization to authorize a request.For more details, see: https://oauth.net/2/bearer-tokens/
-
-
Method Detail
-
of
public static CredentialType of(String value)
Retrieves the Credential Type for a given value.- Parameters:
value
- Teh value to get CredentialType for.- Returns:
CredentialType
for the given value.
-
-