code: public void setPortInfos(java.util.Collection<PortInfo> portInfos) {
          if (portInfos == null) {
              this.portInfos = null;
              return;
          }
  
          this.portInfos = new java.util.ArrayList<PortInfo>(portInfos);
      }
docs: <p>
  Specifies information about the public port(s).
  </p>
  
  @param portInfos
  Specifies information about the public port(s).