Enum IdentityProviderNameMapping
java.lang.Object
java.lang.Enum<IdentityProviderNameMapping>
software.amazon.awssdk.core.internal.useragent.IdentityProviderNameMapping
- All Implemented Interfaces:
Serializable
,Comparable<IdentityProviderNameMapping>
A enum class representing a short form of identity providers to record in the UA string.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionMap the given provider name to a shorter form.toString()
value()
static IdentityProviderNameMapping
Returns the enum constant of this type with the specified name.static IdentityProviderNameMapping[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SYS
-
ENV
-
STSWEB
-
STSROLE
-
STSSAML
-
STSFED
-
STSSESS
-
SSO
-
PROF
-
CONT
-
IMDS
-
STAT
-
PROC
-
ANON
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
value
-
toString
- Overrides:
toString
in classEnum<IdentityProviderNameMapping>
-
mapFrom
Map the given provider name to a shorter form. If null or empty, return unknown. If not recognized, use the given string if it conforms to the accepted pattern.
-