public final class SharedAccessBlobPolicy extends SharedAccessPolicy
| Constructor and Description | 
|---|
SharedAccessBlobPolicy()  | 
| Modifier and Type | Method and Description | 
|---|---|
EnumSet<SharedAccessBlobPermissions> | 
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<SharedAccessBlobPermissions> 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, setSharedAccessStartTimepublic EnumSet<SharedAccessBlobPermissions> getPermissions()
java.util.EnumSet object that contains SharedAccessBlobPermissions values that
         represents the set of shared access permissions.public void setPermissions(EnumSet<SharedAccessBlobPermissions> permissions)
permissions - The permissions, represented by a java.util.EnumSet object that contains
            SharedAccessBlobPermissions values, to set for the shared access signature.public String permissionsToString()
permissionsToString in class SharedAccessPolicyString that represents the shared access permissions in the "racwdl" format,
         which is described at setPermissionsFromString(String).public void setPermissionsFromString(String value)
setPermissionsFromString in class SharedAccessPolicyvalue - A String that represents the shared access permissions. The string must contain one or
            more of the following values. Note they must all be lowercase.
            r: Read access.a: Add access.c: Create access.w: Write access.d: Delete access.l: List access./** 
* Copyright Microsoft Corporation 
* 
* Licensed under the Apache License, Version 2.0 (the "License"); 
* you may not use this file except in compliance with the License. 
* You may obtain a copy of the License at 
* http://www.apache.org/licenses/LICENSE-2.0 
* 
* Unless required by applicable law or agreed to in writing, software 
* distributed under the License is distributed on an "AS IS" BASIS, 
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License. 
*/