withDuration

Sets the duration.

Return

The builder instance.

Parameters

duration

The duration.