code: public void setDestinations(java.util.Collection<OutputDestination> destinations) {
          if (destinations == null) {
              this.destinations = null;
              return;
          }
  
          this.destinations = new java.util.ArrayList<OutputDestination>(destinations);
      }
docs: A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types
  (HLS, for example), there is one destination per packager.
  
  @param destinations
  A list of destinations of the channel. For UDP outputs, there is one destination per output. For other
  types (HLS, for example), there is one destination per packager.