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