Interface OAuth2Credentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OAuth2Credentials.Builder,
,OAuth2Credentials> SdkBuilder<OAuth2Credentials.Builder,
,OAuth2Credentials> SdkPojo
- Enclosing class:
OAuth2Credentials
@Mutable
@NotThreadSafe
public static interface OAuth2Credentials.Builder
extends SdkPojo, CopyableBuilder<OAuth2Credentials.Builder,OAuth2Credentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The access token used when the authentication type is OAuth2.The JSON Web Token (JWT) used when the authentication type is OAuth2.refreshToken
(String refreshToken) The refresh token used when the authentication type is OAuth2.userManagedClientApplicationClientSecret
(String userManagedClientApplicationClientSecret) The client application client secret if the client application is user managed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
userManagedClientApplicationClientSecret
OAuth2Credentials.Builder userManagedClientApplicationClientSecret(String userManagedClientApplicationClientSecret) The client application client secret if the client application is user managed.
- Parameters:
userManagedClientApplicationClientSecret
- The client application client secret if the client application is user managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
The access token used when the authentication type is OAuth2.
- Parameters:
accessToken
- The access token used when the authentication type is OAuth2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshToken
The refresh token used when the authentication type is OAuth2.
- Parameters:
refreshToken
- The refresh token used when the authentication type is OAuth2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jwtToken
The JSON Web Token (JWT) used when the authentication type is OAuth2.
- Parameters:
jwtToken
- The JSON Web Token (JWT) used when the authentication type is OAuth2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-