code: public void setVirtualGateways(java.util.Collection<VirtualGateway> virtualGateways) {
          if (virtualGateways == null) {
              this.virtualGateways = null;
              return;
          }
  
          this.virtualGateways = new com.amazonaws.internal.SdkInternalList<VirtualGateway>(virtualGateways);
      }
docs: <p>
  The virtual private gateways.
  </p>
  
  @param virtualGateways
  The virtual private gateways.