Queue.DefinitionStages.WithAuthorizationRule Interface

public static interface Queue.DefinitionStages.WithAuthorizationRule

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

Method Summary

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

Creates a listen authorization rule for the queue.

abstract WithCreate withNewManageRule(String name)

Creates a manage authorization rule for the queue.

abstract WithCreate withNewSendRule(String name)

Creates a send authorization rule for the queue.

Method Details

withNewListenRule

public abstract Queue.DefinitionStages.WithCreate withNewListenRule(String name)

Creates a listen authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue definition

withNewManageRule

public abstract Queue.DefinitionStages.WithCreate withNewManageRule(String name)

Creates a manage authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue definition

withNewSendRule

public abstract Queue.DefinitionStages.WithCreate withNewSendRule(String name)

Creates a send authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue definition

Applies to