Class OAuth2Authentication
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.OAuth2Authentication
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OAuth2Authentication.Builder,OAuth2Authentication>
@Generated("software.amazon.awssdk:codegen")
public final class OAuth2Authentication
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<OAuth2Authentication.Builder,OAuth2Authentication>
OAuth2 authentication information for third-party providers.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2Authentication.Builderbuilder()final StringThe email address from the OAuth2 provider.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The user's name from the OAuth2 provider.static Class<? extends OAuth2Authentication.Builder>final Stringsub()The subject (sub) claim from the OAuth2 provider.final StringtoString()Returns a string representation of this object.final Stringusername()The username from the OAuth2 provider.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sub
The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
- Returns:
- The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
-
emailAddress
The email address from the OAuth2 provider.
- Returns:
- The email address from the OAuth2 provider.
-
name
The user's name from the OAuth2 provider.
- Returns:
- The user's name from the OAuth2 provider.
-
username
The username from the OAuth2 provider.
- Returns:
- The username from the OAuth2 provider.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<OAuth2Authentication.Builder,OAuth2Authentication>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-