Interface Topic.DefinitionStages.WithAuthorizationRule
-
- All Known Subinterfaces:
Topic.Definition,Topic.DefinitionStages.Blank,Topic.DefinitionStages.WithCreate
- Enclosing interface:
- Topic.DefinitionStages
public static interface Topic.DefinitionStages.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.DefinitionStages.WithCreatewithNewListenRule(String name)Creates a listen authorization rule for the topic.Topic.DefinitionStages.WithCreatewithNewManageRule(String name)Creates a manage authorization rule for the topic.Topic.DefinitionStages.WithCreatewithNewSendRule(String name)Creates a send authorization rule for the topic.
-
-
-
Method Detail
-
withNewSendRule
Topic.DefinitionStages.WithCreate withNewSendRule(String name)
Creates a send authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic definition
-
withNewListenRule
Topic.DefinitionStages.WithCreate withNewListenRule(String name)
Creates a listen authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic definition
-
withNewManageRule
Topic.DefinitionStages.WithCreate withNewManageRule(String name)
Creates a manage authorization rule for the topic.- Parameters:
name- rule name- Returns:
- next stage of the topic definition
-
-