Interface GitHubIntegrationInput.Builder

  • 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

      GitHubIntegrationInput.Builder organizationName(String 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

      GitHubIntegrationInput.Builder targetUrl(String 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

      GitHubIntegrationInput.Builder installationId(String 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.