public void setServerCertificate(java.nio.ByteBuffer serverCertificate) {
        this.serverCertificate = 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>
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
Users of the SDK should not perform Base64 encoding on this field.
</p>
<p>
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
major version of the SDK.
</p>

@param serverCertificate
       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