Interface GitHubAuthorizationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GitHubAuthorizationConfiguration.Builder,,GitHubAuthorizationConfiguration> SdkBuilder<GitHubAuthorizationConfiguration.Builder,,GitHubAuthorizationConfiguration> SdkPojo
- Enclosing class:
GitHubAuthorizationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationCode(String authorizationCode) The OAuth authorization code returned by GitHub after the user authorizes the application.redirectUrl(String redirectUrl) The redirect URL used to obtain the authorization code.Thestatereturned by GitHub in the OAuth callback.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
-
authorizationCode
The OAuth authorization code returned by GitHub after the user authorizes the application.
- Parameters:
authorizationCode- The OAuth authorization code returned by GitHub after the user authorizes the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The
statereturned by GitHub in the OAuth callback. It must be the state that StartIntegrationAuthorization returned to the same AWS account, and the authorization request must have sent that call's codeChallenge. The state can be redeemed once. A stage that enforces authorization sessions rejects a missing, expired, already used, or other-account state with ValidationException; restart the authorization with StartIntegrationAuthorization.- Parameters:
state- Thestatereturned by GitHub in the OAuth callback. It must be the state that StartIntegrationAuthorization returned to the same AWS account, and the authorization request must have sent that call's codeChallenge. The state can be redeemed once. A stage that enforces authorization sessions rejects a missing, expired, already used, or other-account state with ValidationException; restart the authorization with StartIntegrationAuthorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectUrl
The redirect URL used to obtain the authorization code. Must match one of the redirect URLs registered on the GitHub App. If omitted, the App's default redirect URL is used. Not stored or returned after creation.
- Parameters:
redirectUrl- The redirect URL used to obtain the authorization code. Must match one of the redirect URLs registered on the GitHub App. If omitted, the App's default redirect URL is used. Not stored or returned after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-