code: public void setTrailList(java.util.Collection<Trail> trailList) {
          if (trailList == null) {
              this.trailList = null;
              return;
          }
  
          this.trailList = new com.amazonaws.internal.SdkInternalList<Trail>(trailList);
      }
docs: <p>
  The list of trail objects.
  </p>
  
  @param trailList
  The list of trail objects.