Queue.UpdateStages.WithAuthorizationRule Interface

public static interface Queue.UpdateStages.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 Update withNewListenRule(String name)

Creates a listen authorization rule for the queue.

abstract Update withNewManageRule(String name)

Creates a manage authorization rule for the queue.

abstract Update withNewSendRule(String name)

Creates a send authorization rule for the queue.

abstract Update withoutAuthorizationRule(String name)

Removes an authorization rule for the queue.

Method Details

withNewListenRule

public abstract Queue.Update withNewListenRule(String name)

Creates a listen authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue update

withNewManageRule

public abstract Queue.Update withNewManageRule(String name)

Creates a manage authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue update

withNewSendRule

public abstract Queue.Update withNewSendRule(String name)

Creates a send authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue update

withoutAuthorizationRule

public abstract Queue.Update withoutAuthorizationRule(String name)

Removes an authorization rule for the queue.

Parameters:

name - rule name

Returns:

next stage of the queue update

Applies to