Interface OAuth2Credentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OAuth2Credentials.Builder,OAuth2Credentials>,SdkBuilder<OAuth2Credentials.Builder,OAuth2Credentials>,SdkPojo
- Enclosing class:
- OAuth2Credentials
public static interface OAuth2Credentials.Builder extends SdkPojo, CopyableBuilder<OAuth2Credentials.Builder,OAuth2Credentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth2Credentials.BuilderaccessToken(String accessToken)The access token used when the authentication type is OAuth2.OAuth2Credentials.BuilderjwtToken(String jwtToken)The JSON Web Token (JWT) used when the authentication type is OAuth2.OAuth2Credentials.BuilderrefreshToken(String refreshToken)The refresh token used when the authentication type is OAuth2.OAuth2Credentials.BuilderuserManagedClientApplicationClientSecret(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 Detail
-
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
OAuth2Credentials.Builder accessToken(String 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
OAuth2Credentials.Builder refreshToken(String 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
OAuth2Credentials.Builder jwtToken(String 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.
-
-