Interface ServiceBusSubscription.DefinitionStages.WithDeleteOnIdle
- All Known Subinterfaces:
ServiceBusSubscription.Definition
,ServiceBusSubscription.DefinitionStages.Blank
,ServiceBusSubscription.DefinitionStages.WithCreate
- Enclosing interface:
- ServiceBusSubscription.DefinitionStages
public static interface ServiceBusSubscription.DefinitionStages.WithDeleteOnIdle
The stage of the subscription definition allowing to define auto delete behaviour.
-
Method Summary
Modifier and TypeMethodDescriptionwithDeleteOnIdleDurationInMinutes
(int durationInMinutes) The idle interval after which the subscription is automatically deleted.
-
Method Details
-
withDeleteOnIdleDurationInMinutes
ServiceBusSubscription.DefinitionStages.WithCreate withDeleteOnIdleDurationInMinutes(int durationInMinutes) The idle interval after which the subscription is automatically deleted. Note: unless it is explicitly overridden the default delete on idle duration is infinite (TimeSpan.Max).- Parameters:
durationInMinutes
- idle duration in minutes- Returns:
- the next stage of subscription definition
-