Interface Topic.UpdateStages.WithAuthorizationRule
- All Known Subinterfaces:
Topic.Update
- Enclosing interface:
Topic.UpdateStages
public static interface Topic.UpdateStages.WithAuthorizationRule
The stage of the topic definition allowing to add an authorization rule for accessing
the topic.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewListenRule(String name) Creates a listen authorization rule for the topic.withNewManageRule(String name) Creates a manage authorization rule for the topic.withNewSendRule(String name) Creates a send authorization rule for the topic.Removes an authorization rule for the topic.
-
Method Details
-
withNewSendRule
Creates a send authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
withNewListenRule
Creates a listen authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
withNewManageRule
Creates a manage authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
withoutAuthorizationRule
Removes an authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-