code: public void setDirectConnectGateways(java.util.Collection<DirectConnectGateway> directConnectGateways) {
          if (directConnectGateways == null) {
              this.directConnectGateways = null;
              return;
          }
  
          this.directConnectGateways = new com.amazonaws.internal.SdkInternalList<DirectConnectGateway>(directConnectGateways);
      }
docs: <p>
  The Direct Connect gateways.
  </p>
  
  @param directConnectGateways
  The Direct Connect gateways.