Interface GitHubIntegrationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GitHubIntegrationInput.Builder,,GitHubIntegrationInput> SdkBuilder<GitHubIntegrationInput.Builder,,GitHubIntegrationInput> SdkPojo
- Enclosing class:
GitHubIntegrationInput
@Mutable
@NotThreadSafe
public static interface GitHubIntegrationInput.Builder
extends SdkPojo, CopyableBuilder<GitHubIntegrationInput.Builder,GitHubIntegrationInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe OAuth authorization code received from GitHub.installationId(String installationId) The installation identifier provided by GitHub Enterprise Server on the install callback.organizationName(String organizationName) The name of the GitHub organization to integrate with.The CSRF state token for validating the OAuth flow.The HTTPS URL of a self-hosted GitHub Enterprise Server instance.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
-
code
The OAuth authorization code received from GitHub.
- Parameters:
code- The OAuth authorization code received from GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The CSRF state token for validating the OAuth flow.
- Parameters:
state- The CSRF state token for validating the OAuth flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationName
The name of the GitHub organization to integrate with.
- Parameters:
organizationName- The name of the GitHub organization to integrate with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetUrl
The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.
- Parameters:
targetUrl- The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installationId
The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.
- Parameters:
installationId- The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-