code: public void setTrafficPolicies(java.util.Collection<TrafficPolicy> trafficPolicies) {
          if (trafficPolicies == null) {
              this.trafficPolicies = null;
              return;
          }
  
          this.trafficPolicies = new com.amazonaws.internal.SdkInternalList<TrafficPolicy>(trafficPolicies);
      }
docs: <p>
  A list that contains one <code>TrafficPolicy</code> element for each traffic policy version that is associated
  with the specified traffic policy.
  </p>
  
  @param trafficPolicies
  A list that contains one <code>TrafficPolicy</code> element for each traffic policy version that is
  associated with the specified traffic policy.