azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.storage...

71 строка
5.3 KiB
YAML

### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="com.microsoft.azure.storage.SharedAccessPolicy?alt=com.microsoft.azure.storage.SharedAccessPolicy&text=SharedAccessPolicy" data-throw-if-not-resolved="False"/>
inheritedMembers:
- com.microsoft.azure.storage.SharedAccessPolicy.getSharedAccessExpiryTime()
- com.microsoft.azure.storage.SharedAccessPolicy.getSharedAccessStartTime()
- com.microsoft.azure.storage.SharedAccessPolicy.setSharedAccessExpiryTime(final Date)
- com.microsoft.azure.storage.SharedAccessPolicy.setSharedAccessStartTime(final Date)
- com.microsoft.azure.storage.SharedAccessPolicy.SharedAccessPolicy()
methods:
- fullName: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.getPermissions()
name: getPermissions()
nameWithType: SharedAccessBlobPolicy.getPermissions()
returns:
description: <p>A <code>java.util.EnumSet</code> object that contains <xref uid="com.microsoft.azure.storage.blob.SharedAccessBlobPermissions" data-throw-if-not-resolved="false" data-raw-source="SharedAccessBlobPermissions"></xref> values that represents the set of shared access permissions. </p>
type: EnumSet&lt;<xref href="com.microsoft.azure.storage.blob.SharedAccessBlobPermissions?alt=com.microsoft.azure.storage.blob.SharedAccessBlobPermissions&text=SharedAccessBlobPermissions" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Gets the permissions for a shared access signature associated with this shared access policy.</p>
<p></p>
syntax: public EnumSet<SharedAccessBlobPermissions> getPermissions()
uid: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.getPermissions()
- fullName: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.permissionsToString()
name: permissionsToString()
nameWithType: SharedAccessBlobPolicy.permissionsToString()
returns:
description: <p>A <code>String</code> that represents the shared access permissions in the "racwdl" format, which is described at <xref uid="com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.setPermissionsFromString(final String)" data-throw-if-not-resolved="false" data-raw-source="setPermissionsFromString(String)"></xref>. </p>
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Converts this policy's permissions to a string.</p>
<p></p>
syntax: public String permissionsToString()
uid: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.permissionsToString()
- fullName: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.setPermissions(final EnumSet<SharedAccessBlobPermissions> permissions)
name: setPermissions(final EnumSet<SharedAccessBlobPermissions> permissions)
nameWithType: SharedAccessBlobPolicy.setPermissions(final EnumSet<SharedAccessBlobPermissions> permissions)
parameters:
- description: <p>The permissions, represented by a <code>java.util.EnumSet</code> object that contains <xref uid="com.microsoft.azure.storage.blob.SharedAccessBlobPermissions" data-throw-if-not-resolved="false" data-raw-source="SharedAccessBlobPermissions"></xref> values, to set for the shared access signature. </p>
name: permissions
type: final EnumSet&lt;<xref href="com.microsoft.azure.storage.blob.SharedAccessBlobPermissions?alt=com.microsoft.azure.storage.blob.SharedAccessBlobPermissions&text=SharedAccessBlobPermissions" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Sets the permissions for a shared access signature associated with this shared access policy.</p>
<p></p>
syntax: public void setPermissions(final EnumSet<SharedAccessBlobPermissions> permissions)
uid: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.setPermissions(final EnumSet<SharedAccessBlobPermissions>)
- fullName: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.setPermissionsFromString(final String value)
name: setPermissionsFromString(final String value)
nameWithType: SharedAccessBlobPolicy.setPermissionsFromString(final String value)
parameters:
- description: '<p>A <code>String</code> that represents the shared access permissions. The string must contain one or more of the following values. Note they must all be lowercase. <ul><li><p><code>r</code>: Read access. </p></li><li><p><code>a</code>: Add access. </p></li><li><p><code>c</code>: Create access. </p></li><li><p><code>w</code>: Write access. </p></li><li><p><code>d</code>: Delete access. </p></li><li><p><code>l</code>: List access. </p></li></ul></p>'
name: value
type: <xref href="final+String?alt=final+String&text=final+String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Sets shared access permissions using the specified permissions string.</p>
<p></p>
syntax: public void setPermissionsFromString(final String value)
uid: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy.setPermissionsFromString(final String)
nameWithType: SharedAccessBlobPolicy
syntax: public class SharedAccessBlobPolicy extends SharedAccessPolicy
type: class
uid: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy
fullName: com.microsoft.azure.storage.blob.SharedAccessBlobPolicy
name: SharedAccessBlobPolicy
package: com.microsoft.azure.storage.blob
summary: <p>Represents a shared access policy, which specifies the start time, expiry time, and permissions for a shared access signature. </p>
metadata: {}