azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.file.data...

285 строки
19 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.file.datalake.sas.PathSasPermission"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission"
name: "PathSasPermission"
nameWithType: "PathSasPermission"
summary: "This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a path."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **PathSasPermission**"
constructors:
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.PathSasPermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.PathSasPermission()"
name: "PathSasPermission()"
nameWithType: "PathSasPermission.PathSasPermission()"
summary: "Initializes a `PathSasPermission` object with all fields set to false."
syntax: "public PathSasPermission()"
desc: "Initializes a `PathSasPermission` object with all fields set to false."
methods:
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasAddPermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasAddPermission()"
name: "hasAddPermission()"
nameWithType: "PathSasPermission.hasAddPermission()"
syntax: "public boolean hasAddPermission()"
returns:
description: "the add permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasCreatePermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasCreatePermission()"
name: "hasCreatePermission()"
nameWithType: "PathSasPermission.hasCreatePermission()"
syntax: "public boolean hasCreatePermission()"
returns:
description: "the create permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasDeletePermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasDeletePermission()"
name: "hasDeletePermission()"
nameWithType: "PathSasPermission.hasDeletePermission()"
syntax: "public boolean hasDeletePermission()"
returns:
description: "the delete permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasExecutePermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasExecutePermission()"
name: "hasExecutePermission()"
nameWithType: "PathSasPermission.hasExecutePermission()"
syntax: "public boolean hasExecutePermission()"
returns:
description: "the execute permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasListPermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasListPermission()"
name: "hasListPermission()"
nameWithType: "PathSasPermission.hasListPermission()"
syntax: "public boolean hasListPermission()"
returns:
description: "the list permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasManageAccessControlPermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasManageAccessControlPermission()"
name: "hasManageAccessControlPermission()"
nameWithType: "PathSasPermission.hasManageAccessControlPermission()"
syntax: "public boolean hasManageAccessControlPermission()"
returns:
description: "the manage access control permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasManageOwnershipPermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasManageOwnershipPermission()"
name: "hasManageOwnershipPermission()"
nameWithType: "PathSasPermission.hasManageOwnershipPermission()"
syntax: "public boolean hasManageOwnershipPermission()"
returns:
description: "the manage ownership permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasMovePermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasMovePermission()"
name: "hasMovePermission()"
nameWithType: "PathSasPermission.hasMovePermission()"
syntax: "public boolean hasMovePermission()"
returns:
description: "the move permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasReadPermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasReadPermission()"
name: "hasReadPermission()"
nameWithType: "PathSasPermission.hasReadPermission()"
syntax: "public boolean hasReadPermission()"
returns:
description: "the read permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.hasWritePermission()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.hasWritePermission()"
name: "hasWritePermission()"
nameWithType: "PathSasPermission.hasWritePermission()"
syntax: "public boolean hasWritePermission()"
returns:
description: "the write permission status."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.parse(java.lang.String)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.parse(String permissionString)"
name: "parse(String permissionString)"
nameWithType: "PathSasPermission.parse(String permissionString)"
summary: "Creates a `PathSasPermission` from the specified permissions string."
modifiers:
- "static"
parameters:
- description: "A <code>String</code> which represents the <code>PathSasPermission</code>."
name: "permissionString"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static PathSasPermission parse(String permissionString)"
desc: "Creates a `PathSasPermission` from the specified permissions string. This method will throw an `IllegalArgumentException` if it encounters a character that does not correspond to a valid permission."
returns:
description: "A <code>PathSasPermission</code> generated from the given <code>String</code>."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setAddPermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setAddPermission(boolean hasAddPermission)"
name: "setAddPermission(boolean hasAddPermission)"
nameWithType: "PathSasPermission.setAddPermission(boolean hasAddPermission)"
summary: "Sets the add permission status."
parameters:
- description: "Permission status to set"
name: "hasAddPermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setAddPermission(boolean hasAddPermission)"
desc: "Sets the add permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setCreatePermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setCreatePermission(boolean hasCreatePermission)"
name: "setCreatePermission(boolean hasCreatePermission)"
nameWithType: "PathSasPermission.setCreatePermission(boolean hasCreatePermission)"
summary: "Sets the create permission status."
parameters:
- description: "Permission status to set"
name: "hasCreatePermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setCreatePermission(boolean hasCreatePermission)"
desc: "Sets the create permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setDeletePermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setDeletePermission(boolean hasDeletePermission)"
name: "setDeletePermission(boolean hasDeletePermission)"
nameWithType: "PathSasPermission.setDeletePermission(boolean hasDeletePermission)"
summary: "Sets the delete permission status."
parameters:
- description: "Permission status to set"
name: "hasDeletePermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setDeletePermission(boolean hasDeletePermission)"
desc: "Sets the delete permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setExecutePermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setExecutePermission(boolean hasExecutePermission)"
name: "setExecutePermission(boolean hasExecutePermission)"
nameWithType: "PathSasPermission.setExecutePermission(boolean hasExecutePermission)"
summary: "Sets the execute permission status."
parameters:
- description: "Permission status to set"
name: "hasExecutePermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setExecutePermission(boolean hasExecutePermission)"
desc: "Sets the execute permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setListPermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setListPermission(boolean hasListPermission)"
name: "setListPermission(boolean hasListPermission)"
nameWithType: "PathSasPermission.setListPermission(boolean hasListPermission)"
summary: "Sets the list permission status."
parameters:
- description: "Permission status to set"
name: "hasListPermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setListPermission(boolean hasListPermission)"
desc: "Sets the list permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setManageAccessControlPermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setManageAccessControlPermission(boolean hasManageAccessControlPermission)"
name: "setManageAccessControlPermission(boolean hasManageAccessControlPermission)"
nameWithType: "PathSasPermission.setManageAccessControlPermission(boolean hasManageAccessControlPermission)"
summary: "Sets the manage access control permission status."
parameters:
- description: "Permission status to set"
name: "hasManageAccessControlPermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setManageAccessControlPermission(boolean hasManageAccessControlPermission)"
desc: "Sets the manage access control permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setManageOwnershipPermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setManageOwnershipPermission(boolean hasManageOwnershipPermission)"
name: "setManageOwnershipPermission(boolean hasManageOwnershipPermission)"
nameWithType: "PathSasPermission.setManageOwnershipPermission(boolean hasManageOwnershipPermission)"
summary: "Sets the manage ownership permission status."
parameters:
- description: "Permission status to set"
name: "hasManageOwnershipPermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setManageOwnershipPermission(boolean hasManageOwnershipPermission)"
desc: "Sets the manage ownership permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setMovePermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setMovePermission(boolean hasMovePermission)"
name: "setMovePermission(boolean hasMovePermission)"
nameWithType: "PathSasPermission.setMovePermission(boolean hasMovePermission)"
summary: "Sets the move permission status."
parameters:
- description: "Permission status to set"
name: "hasMovePermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setMovePermission(boolean hasMovePermission)"
desc: "Sets the move permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setReadPermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setReadPermission(boolean hasReadPermission)"
name: "setReadPermission(boolean hasReadPermission)"
nameWithType: "PathSasPermission.setReadPermission(boolean hasReadPermission)"
summary: "Sets the read permission status."
parameters:
- description: "Permission status to set"
name: "hasReadPermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setReadPermission(boolean hasReadPermission)"
desc: "Sets the read permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.setWritePermission(boolean)"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.setWritePermission(boolean hasWritePermission)"
name: "setWritePermission(boolean hasWritePermission)"
nameWithType: "PathSasPermission.setWritePermission(boolean hasWritePermission)"
summary: "Sets the write permission status."
parameters:
- description: "Permission status to set"
name: "hasWritePermission"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PathSasPermission setWritePermission(boolean hasWritePermission)"
desc: "Sets the write permission status."
returns:
description: "the updated PathSasPermission object."
type: "<xref href=\"com.azure.storage.file.datalake.sas.PathSasPermission?alt=com.azure.storage.file.datalake.sas.PathSasPermission&text=PathSasPermission\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.datalake.sas.PathSasPermission.toString()"
fullName: "com.azure.storage.file.datalake.sas.PathSasPermission.toString()"
name: "toString()"
nameWithType: "PathSasPermission.toString()"
summary: "Converts the given permissions to a `String`."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Converts the given permissions to a `String`. Using this method will guarantee the permissions are in an order accepted by the service."
returns:
description: "A <code>String</code> which represents the <code>PathSasPermission</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "This is a helper class to construct a string representing the permissions granted by a ServiceSAS to a path. Setting a value to true means that any SAS which uses these permissions will grant permissions for that operation. It is possible to construct the permissions string without this class, but the order of the permissions is particular and this class guarantees correctness."
metadata: {}
package: "com.azure.storage.file.datalake.sas"
artifact: com.azure:azure-storage-file-datalake:12.20.1