Interface Queue.DefinitionStages.WithAuthorizationRule
- All Known Subinterfaces:
Queue.Definition, Queue.DefinitionStages.Blank, Queue.DefinitionStages.WithCreate
- Enclosing interface:
Queue.DefinitionStages
public static interface Queue.DefinitionStages.WithAuthorizationRule
The stage of the queue definition allowing to add an authorization rule for accessing
the queue.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewListenRule(String name) Creates a listen authorization rule for the queue.withNewManageRule(String name) Creates a manage authorization rule for the queue.withNewSendRule(String name) Creates a send authorization rule for the queue.
-
Method Details
-
withNewSendRule
Creates a send authorization rule for the queue.- Parameters:
name- rule name- Returns:
- next stage of the queue definition
-
withNewListenRule
Creates a listen authorization rule for the queue.- Parameters:
name- rule name- Returns:
- next stage of the queue definition
-
withNewManageRule
Creates a manage authorization rule for the queue.- Parameters:
name- rule name- Returns:
- next stage of the queue definition
-