Interface AuthorizationCodeProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthorizationCodeProperties.Builder,
,AuthorizationCodeProperties> SdkBuilder<AuthorizationCodeProperties.Builder,
,AuthorizationCodeProperties> SdkPojo
- Enclosing class:
AuthorizationCodeProperties
public static interface AuthorizationCodeProperties.Builder
extends SdkPojo, CopyableBuilder<AuthorizationCodeProperties.Builder,AuthorizationCodeProperties>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationCode
(String authorizationCode) An authorization code to be used in the third leg of theAUTHORIZATION_CODE
grant workflow.redirectUri
(String redirectUri) The redirect URI where the user gets redirected to by authorization server when issuing an authorization code.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, sdkFields
-
Method Details
-
authorizationCode
An authorization code to be used in the third leg of the
AUTHORIZATION_CODE
grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.- Parameters:
authorizationCode
- An authorization code to be used in the third leg of theAUTHORIZATION_CODE
grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectUri
The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.
- Parameters:
redirectUri
- The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-