Interface Topic.UpdateStages.WithAuthorizationRule
-
- All Known Subinterfaces:
Topic.Update
- Enclosing interface:
- Topic.UpdateStages
public static interface Topic.UpdateStages.WithAuthorizationRuleThe stage of the topic definition allowing to add an authorization rule for accessing the topic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Topic.UpdatewithNewListenRule(String name)Creates a listen authorization rule for the topic.Topic.UpdatewithNewManageRule(String name)Creates a manage authorization rule for the topic.Topic.UpdatewithNewSendRule(String name)Creates a send authorization rule for the topic.Topic.UpdatewithoutAuthorizationRule(String name)Removes an authorization rule for the topic.
-
-
-
Method Detail
-
withNewSendRule
Topic.Update withNewSendRule(String name)
Creates a send authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
withNewListenRule
Topic.Update withNewListenRule(String name)
Creates a listen authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
withNewManageRule
Topic.Update withNewManageRule(String name)
Creates a manage authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
withoutAuthorizationRule
Topic.Update withoutAuthorizationRule(String name)
Removes an authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic update
-
-