aggregateId

abstract fun aggregateId(aggregateId: String?): CommandBuilder

Sets the target aggregate instance identifier.

Return

this builder for method chaining

Parameters

aggregateId

the aggregate instance ID, or null for commands that create aggregates

See also


abstract val aggregateId: String?