Interface Topic.UpdateStages.WithDefaultMessageTTL

All Known Subinterfaces:
Topic.Update
Enclosing interface:
Topic.UpdateStages

public static interface Topic.UpdateStages.WithDefaultMessageTTL
The stage of the topic definition allowing to define default TTL for messages.
  • Method Details

    • withDefaultMessageTTL

      Topic.Update withDefaultMessageTTL(Duration ttl)
      Specifies the duration after which the message expires.
      Parameters:
      ttl - time to live duration
      Returns:
      the next stage of topic update