code: public Observable<ModuleInner> createOrUpdateAsync(String resourceGroupName, String automationAccountName, String moduleName, ModuleCreateOrUpdateParameters parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, automationAccountName, moduleName, parameters).map(new Func1<ServiceResponse<ModuleInner>, ModuleInner>() {
              @Override
              public ModuleInner call(ServiceResponse<ModuleInner> response) {
                  return response.body();
              }
          });
      }
docs: Create or Update the module identified by module name.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param moduleName The name of module.
  @param parameters The create or update parameters for module.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ModuleInner object