public CreateLocationObjectStorageRequest withServerHostname(String serverHostname) {
        setServerHostname(serverHostname);
        return this;
    }
<p>
Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to
mount the object storage server in a network.
</p>

@param serverHostname
       Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname
       to mount the object storage server in a network.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateLocationObjectStorageRequest.java