setDeduplicationWindow

public DeliveryBuilder setDeduplicationWindow(Duration deduplicationWindow)

Sets for how long the previously delivered messages should be kept in the Inbox to ensure the incoming messages aren't duplicates.

If none set, zero duration is used.