code: public BandwidthScheduleInner createOrUpdate(String deviceName, String name, String resourceGroupName, BandwidthScheduleInner parameters) {
          return createOrUpdateWithServiceResponseAsync(deviceName, name, resourceGroupName, parameters).toBlocking().last().body();
      }
docs: Creates or updates a bandwidth schedule.
  
  @param deviceName The device name.
  @param name The bandwidth schedule name which needs to be added/updated.
  @param resourceGroupName The resource group name.
  @param parameters The bandwidth schedule to be added or updated.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the BandwidthScheduleInner object if successful.