public OnPremiseConfiguration withHostUrl(String hostUrl) {
        setHostUrl(hostUrl);
        return this;
    }
<p>
The GitHub host URL or API endpoint URL. For example, <i>https://on-prem-host-url/api/v3/</i>
</p>

@param hostUrl
       The GitHub host URL or API endpoint URL. For example, <i>https://on-prem-host-url/api/v3/</i>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/OnPremiseConfiguration.java