code: public DescribeVirtualGatewaysResult withVirtualGateways(VirtualGateway... virtualGateways) {
          if (this.virtualGateways == null) {
              setVirtualGateways(new com.amazonaws.internal.SdkInternalList<VirtualGateway>(virtualGateways.length));
          }
          for (VirtualGateway ele : virtualGateways) {
              this.virtualGateways.add(ele);
          }
          return this;
      }
docs: <p>
  The virtual private gateways.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setVirtualGateways(java.util.Collection)} or {@link #withVirtualGateways(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param virtualGateways
  The virtual private gateways.
  @return Returns a reference to this object so that method calls can be chained together.