Topic.UpdateStages.WithAuthorizationRule Interface

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 Type Method and Description
abstract Update withNewListenRule(String name)

Creates a listen authorization rule for the topic.

abstract Update withNewManageRule(String name)

Creates a manage authorization rule for the topic.

abstract Update withNewSendRule(String name)

Creates a send authorization rule for the topic.

abstract Update withoutAuthorizationRule(String name)

Removes an authorization rule for the topic.

Method Details

withNewListenRule

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

public abstract Topic.Update withNewManageRule(String name)

Creates a manage authorization rule for the topic.

Parameters:

name - rule name

Returns:

next stage of the topic update

withNewSendRule

public abstract Topic.Update withNewSendRule(String name)

Creates a send authorization rule for the topic.

Parameters:

name - rule name

Returns:

next stage of the topic update

withoutAuthorizationRule

public abstract Topic.Update withoutAuthorizationRule(String name)

Removes an authorization rule for the topic.

Parameters:

name - rule name

Returns:

next stage of the topic update

Applies to