public java.nio.ByteBuffer getServerCertificate() {
        return this.serverCertificate;
    }
<p>
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA). You must specify a single <code>.pem</code> file with a full
certificate chain (for example, <code>file:///home/user/.ssh/object_storage_certificates.pem</code>).
</p>
<p>
The certificate chain might include:
</p>
<ul>
<li>
<p>
The object storage system's certificate
</p>
</li>
<li>
<p>
All intermediate certificates (if there are any)
</p>
</li>
<li>
<p>
The root certificate of the signing CA
</p>
</li>
</ul>
<p>
You can concatenate your certificates into a <code>.pem</code> file (which can be up to 32768 bytes before base64
encoding). The following example <code>cat</code> command creates an <code>object_storage_certificates.pem</code>
file that includes three certificates:
</p>
<p>
<code>cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem &gt; object_storage_certificates.pem</code>
</p>
<p>
To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.
</p>
<p>
{@code ByteBuffer}s are stateful. Calling their {@code get} methods changes their {@code position}. We recommend
using {@link java.nio.ByteBuffer#asReadOnlyBuffer()} to create a read-only view of the buffer with an independent
{@code position}, and calling {@code get} methods on this rather than directly on the returned {@code ByteBuffer}.
Doing so will ensure that anyone else using the {@code ByteBuffer} will not be affected by changes to the
{@code position}.
</p>

@return Specifies a certificate chain for DataSync to authenticate with your object storage system if the system
        uses a private or self-signed certificate authority (CA). You must specify a single <code>.pem</code>
        file with a full certificate chain (for example,
        <code>file:///home/user/.ssh/object_storage_certificates.pem</code>).</p>
        <p>
        The certificate chain might include:
        </p>
        <ul>
        <li>
        <p>
        The object storage system's certificate
        </p>
        </li>
        <li>
        <p>
        All intermediate certificates (if there are any)
        </p>
        </li>
        <li>
        <p>
        The root certificate of the signing CA
        </p>
        </li>
        </ul>
        <p>
        You can concatenate your certificates into a <code>.pem</code> file (which can be up to 32768 bytes
        before base64 encoding). The following example <code>cat</code> command creates an
        <code>object_storage_certificates.pem</code> file that includes three certificates:
        </p>
        <p>
        <code>cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem &gt; object_storage_certificates.pem</code>
        </p>
        <p>
        To use this parameter, configure <code>ServerProtocol</code> to <code>HTTPS</code>.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateLocationObjectStorageRequest.java