public void setTransitGatewayAttachmentIds(java.util.Collection<String> transitGatewayAttachmentIds) {
        if (transitGatewayAttachmentIds == null) {
            this.transitGatewayAttachmentIds = null;
            return;
        }

        this.transitGatewayAttachmentIds = new com.amazonaws.internal.SdkInternalList<String>(transitGatewayAttachmentIds);
    }
<p>
The IDs of the attachments.
</p>

@param transitGatewayAttachmentIds
       The IDs of the attachments.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeTransitGatewayConnectsRequest.java