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