Topic.DefinitionStages.WithAuthorizationRule Interface

public static interface Topic.DefinitionStages.WithAuthorizationRule

The stage of the topic definition allowing to add an authorization rule for accessing the topic.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withNewListenRule(String name)

Creates a listen authorization rule for the topic.

abstract WithCreate withNewManageRule(String name)

Creates a manage authorization rule for the topic.

abstract WithCreate withNewSendRule(String name)

Creates a send authorization rule for the topic.

Method Details

withNewListenRule

public abstract 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

public abstract 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

withNewSendRule

public abstract 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

Applies to