public static interface OnPremiseConfiguration.Builder extends SdkPojo, CopyableBuilder<OnPremiseConfiguration.Builder,OnPremiseConfiguration>
| Modifier and Type | Method and Description |
|---|---|
OnPremiseConfiguration.Builder |
hostUrl(String hostUrl)
The GitHub host URL or API endpoint URL.
|
OnPremiseConfiguration.Builder |
organizationName(String organizationName)
The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to.
|
default OnPremiseConfiguration.Builder |
sslCertificateS3Path(Consumer<S3Path.Builder> sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket.
|
OnPremiseConfiguration.Builder |
sslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOnPremiseConfiguration.Builder hostUrl(String hostUrl)
The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/
hostUrl - The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/OnPremiseConfiguration.Builder organizationName(String organizationName)
The name of the organization of the GitHub Enterprise Server (in-premise) 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.
organizationName - The name of the organization of the GitHub Enterprise Server (in-premise) 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.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.
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.
default OnPremiseConfiguration.Builder sslCertificateS3Path(Consumer<S3Path.Builder> 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.
This is a convenience method that creates an instance of theS3Path.Builder avoiding the need to
create one manually via S3Path.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sslCertificateS3Path(S3Path).
sslCertificateS3Path - a consumer that will call methods on S3Path.BuildersslCertificateS3Path(S3Path)Copyright © 2023. All rights reserved.