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