accept
Accepts a record to be added to this aggregate.
This method adds the provided record to the current batch and should perform any final per-record processing needed. Note that field and value transformations should be handled upstream before records reach this point (e.g., by the ValueCoercer during the transformation phase). The CDK automatically manages when aggregates should be flushed based on configured thresholds (see AggregatePublishingConfig).
Parameters
record
The record to add to this aggregate