Interface OAuth2Authentication.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OAuth2Authentication.Builder,,OAuth2Authentication> SdkBuilder<OAuth2Authentication.Builder,,OAuth2Authentication> SdkPojo
- Enclosing class:
OAuth2Authentication
@Mutable
@NotThreadSafe
public static interface OAuth2Authentication.Builder
extends SdkPojo, CopyableBuilder<OAuth2Authentication.Builder,OAuth2Authentication>
-
Method Summary
Modifier and TypeMethodDescriptionemailAddress(String emailAddress) The email address from the OAuth2 provider (optional).The user's name from the OAuth2 provider (optional).The subject (sub) claim from the OAuth2 provider.The username from the OAuth2 provider (optional).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sub
The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.
- Parameters:
sub- The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailAddress
The email address from the OAuth2 provider (optional).
- Parameters:
emailAddress- The email address from the OAuth2 provider (optional).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The user's name from the OAuth2 provider (optional).
- Parameters:
name- The user's name from the OAuth2 provider (optional).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The username from the OAuth2 provider (optional).
- Parameters:
username- The username from the OAuth2 provider (optional).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-