code: public Observable<ServiceResponse<ServerCommunicationLinkInner>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String serverName, String communicationLinkName, String partnerServer) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (serverName == null) {
              throw new IllegalArgumentException("Parameter serverName is required and cannot be null.");
          }
          if (communicationLinkName == null) {
              throw new IllegalArgumentException("Parameter communicationLinkName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          if (partnerServer == null) {
              throw new IllegalArgumentException("Parameter partnerServer is required and cannot be null.");
          }
          ServerCommunicationLinkInner parameters = new ServerCommunicationLinkInner();
          parameters.withPartnerServer(partnerServer);
          Observable<Response<ResponseBody>> observable = service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, serverName, communicationLinkName, this.client.apiVersion(), this.client.acceptLanguage(), parameters, this.client.userAgent());
          return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<ServerCommunicationLinkInner>() { }.getType());
      }
docs: Creates a server communication link.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param communicationLinkName The name of the server communication link.
  @param partnerServer The name of the partner server.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request