Interface OnPremiseConfiguration.Builder

    • Method Detail

      • hostUrl

        OnPremiseConfiguration.Builder hostUrl​(String hostUrl)

        The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/

        Parameters:
        hostUrl - The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationName

        OnPremiseConfiguration.Builder organizationName​(String organizationName)

        The name of the organization of the GitHub Enterprise Server (on-premises) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting Your organizations under your profile picture dropdown.

        Parameters:
        organizationName - The name of the organization of the GitHub Enterprise Server (on-premises) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting Your organizations under your profile picture dropdown.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sslCertificateS3Path

        OnPremiseConfiguration.Builder sslCertificateS3Path​(S3Path sslCertificateS3Path)

        The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.

        You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.

        Parameters:
        sslCertificateS3Path - The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.

        You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.

        Returns:
        Returns a reference to this object so that method calls can be chained together.