code: public void setTrafficPolicyInstances(java.util.Collection<TrafficPolicyInstance> trafficPolicyInstances) {
          if (trafficPolicyInstances == null) {
              this.trafficPolicyInstances = null;
              return;
          }
  
          this.trafficPolicyInstances = new com.amazonaws.internal.SdkInternalList<TrafficPolicyInstance>(trafficPolicyInstances);
      }
docs: <p>
  A list that contains one <code>TrafficPolicyInstance</code> element for each traffic policy instance that matches
  the elements in the request.
  </p>
  
  @param trafficPolicyInstances
  A list that contains one <code>TrafficPolicyInstance</code> element for each traffic policy instance that
  matches the elements in the request.