code: public Observable<ConnectionInner> updateAsync(String resourceGroupName, String automationAccountName, String connectionName, ConnectionUpdateParameters parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, automationAccountName, connectionName, parameters).map(new Func1<ServiceResponse<ConnectionInner>, ConnectionInner>() {
              @Override
              public ConnectionInner call(ServiceResponse<ConnectionInner> response) {
                  return response.body();
              }
          });
      }
docs: Update a connection.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param connectionName The parameters supplied to the update a connection operation.
  @param parameters The parameters supplied to the update a connection operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ConnectionInner object