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