code: public void setVolumes(java.util.Collection<Volume> volumes) {
          if (volumes == null) {
              this.volumes = null;
              return;
          }
  
          this.volumes = new java.util.ArrayList<Volume>(volumes);
      }
docs: <p>
  A list of data volumes used in a job.
  </p>
  
  @param volumes
  A list of data volumes used in a job.