Interface Queue.DefinitionStages.WithDeleteOnIdle
- All Known Subinterfaces:
Queue.Definition
,Queue.DefinitionStages.Blank
,Queue.DefinitionStages.WithCreate
- Enclosing interface:
- Queue.DefinitionStages
public static interface Queue.DefinitionStages.WithDeleteOnIdle
The stage of the queue definition allowing to define auto delete behaviour.
-
Method Summary
Modifier and TypeMethodDescriptionwithDeleteOnIdleDurationInMinutes
(int durationInMinutes) The idle interval after which the queue is automatically deleted.
-
Method Details
-
withDeleteOnIdleDurationInMinutes
The idle interval after which the queue 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 queue definition
-