@Generated(value="software.amazon.awssdk:codegen") public final class OnPremiseConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OnPremiseConfiguration.Builder,OnPremiseConfiguration>
Provides the configuration information to connect to GitHub Enterprise Server (on premises).
| Modifier and Type | Class and Description |
|---|---|
static interface |
OnPremiseConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OnPremiseConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostUrl()
The GitHub host URL or API endpoint URL.
|
String |
organizationName()
The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OnPremiseConfiguration.Builder> |
serializableBuilderClass() |
S3Path |
sslCertificateS3Path()
The path to the SSL certificate stored in an Amazon S3 bucket.
|
OnPremiseConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostUrl()
The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/
public final 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.
public final 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.
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.
public OnPremiseConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OnPremiseConfiguration.Builder,OnPremiseConfiguration>public static OnPremiseConfiguration.Builder builder()
public static Class<? extends OnPremiseConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.