Topic.DefinitionStages.WithDefaultMessageTTL Interface
public static interface Topic.DefinitionStages.WithDefaultMessageTTL
The stage of the topic definition allowing to define default TTL for messages.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDefaultMessageTTL(Duration ttl)
Specifies the duration after which the message expires. |
Method Details
withDefaultMessageTTL
public abstract Topic.DefinitionStages.WithCreate withDefaultMessageTTL(Duration ttl)
Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max).
Parameters:
ttl
- time to live duration
Returns:
the next stage of topic definition
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java