code: public DescribeTransitGatewaysResult withTransitGateways(TransitGateway... transitGateways) {
          if (this.transitGateways == null) {
              setTransitGateways(new com.amazonaws.internal.SdkInternalList<TransitGateway>(transitGateways.length));
          }
          for (TransitGateway ele : transitGateways) {
              this.transitGateways.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the transit gateways.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTransitGateways(java.util.Collection)} or {@link #withTransitGateways(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param transitGateways
  Information about the transit gateways.
  @return Returns a reference to this object so that method calls can be chained together.