Topic.UpdateStages.WithDuplicateMessageDetection Interface

public static interface Topic.UpdateStages.WithDuplicateMessageDetection

The stage of the topic definition allowing to specify duration of the duplicate message detection history.

Method Summary

Modifier and Type Method and Description
abstract Update withDuplicateMessageDetectionHistoryDuration(Duration duration)

Specifies the duration of the duplicate message detection history.

abstract Update withoutDuplicateMessageDetection()

Specifies that duplicate message detection needs to be disabled.

Method Details

withDuplicateMessageDetectionHistoryDuration

public abstract Topic.Update withDuplicateMessageDetectionHistoryDuration(Duration duration)

Specifies the duration of the duplicate message detection history.

Parameters:

duration - duration of the history

Returns:

the next stage of topic update

withoutDuplicateMessageDetection

public abstract Topic.Update withoutDuplicateMessageDetection()

Specifies that duplicate message detection needs to be disabled.

Returns:

the next stage of topic update

Applies to