@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnPremiseConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information to connect to GitHub Enterprise Server (on premises).
Constructor and Description |
---|
OnPremiseConfiguration() |
Modifier and Type | Method and Description |
---|---|
OnPremiseConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getHostUrl()
The GitHub host URL or API endpoint URL.
|
String |
getOrganizationName()
The name of the organization of the GitHub Enterprise Server (on-premises) account you want to connect to.
|
S3Path |
getSslCertificateS3Path()
The path to the SSL certificate stored in an Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostUrl(String hostUrl)
The GitHub host URL or API endpoint URL.
|
void |
setOrganizationName(String organizationName)
The name of the organization of the GitHub Enterprise Server (on-premises) account you want to connect to.
|
void |
setSslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
OnPremiseConfiguration |
withHostUrl(String hostUrl)
The GitHub host URL or API endpoint URL.
|
OnPremiseConfiguration |
withOrganizationName(String organizationName)
The name of the organization of the GitHub Enterprise Server (on-premises) account you want to connect to.
|
OnPremiseConfiguration |
withSslCertificateS3Path(S3Path sslCertificateS3Path)
The path to the SSL certificate stored in an Amazon S3 bucket.
|
public void setHostUrl(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/public String getHostUrl()
The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/
public OnPremiseConfiguration withHostUrl(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/public void setOrganizationName(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.
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.public String getOrganizationName()
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.
public OnPremiseConfiguration withOrganizationName(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.
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.public void setSslCertificateS3Path(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.
public S3Path getSslCertificateS3Path()
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 withSslCertificateS3Path(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.
public String toString()
toString
in class Object
Object.toString()
public OnPremiseConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.