public final class SharedAccessQueuePolicy extends SharedAccessPolicy
Constructor and Description |
---|
SharedAccessQueuePolicy() |
Modifier and Type | Method and Description |
---|---|
EnumSet<SharedAccessQueuePermissions> |
getPermissions()
Gets the permissions for a shared access signature associated with this shared access policy.
|
String |
permissionsToString()
Converts this policy's permissions to a string.
|
void |
setPermissions(EnumSet<SharedAccessQueuePermissions> permissions)
Sets the permissions for a shared access signature associated with this shared access policy.
|
void |
setPermissionsFromString(String value)
Sets shared access permissions using the specified permissions string.
|
getSharedAccessExpiryTime, getSharedAccessStartTime, setSharedAccessExpiryTime, setSharedAccessStartTime
public EnumSet<SharedAccessQueuePermissions> getPermissions()
java.util.EnumSet
object that contains SharedAccessQueuePermissions
values that
represents the set of shared access permissions.public void setPermissions(EnumSet<SharedAccessQueuePermissions> permissions)
permissions
- The permissions, represented by a java.util.EnumSet
object that contains
SharedAccessQueuePermissions
values, to set for the shared access signature.public String permissionsToString()
permissionsToString
in class SharedAccessPolicy
String
that represents the shared access permissions in the "raup" format, which is
described at setPermissionsFromString(String)
.public void setPermissionsFromString(String value)
setPermissionsFromString
in class SharedAccessPolicy
value
- A String
that represents the shared access permissions. The string must contain one or
more of the following values. Note that they must be lower case, and the order that they are specified
must be in the order of "raup".
d
: Read access.l
: Add access.r
: Update access.w
: ProcessMessages access.Copyright © 2018. All Rights Reserved.