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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationCodeProperties.BuilderauthorizationCode(String authorizationCode)An authorization code to be used in the third leg of theAUTHORIZATION_CODEgrant workflow.AuthorizationCodeProperties.BuilderredirectUri(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
authorizationCode
AuthorizationCodeProperties.Builder authorizationCode(String authorizationCode)
An authorization code to be used in the third leg of the
AUTHORIZATION_CODEgrant 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_CODEgrant 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
AuthorizationCodeProperties.Builder redirectUri(String 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.
-
-