Class ShareSetAccessPolicyOptions
java.lang.Object
com.azure.storage.file.share.options.ShareSetAccessPolicyOptions
Extended options that may be passed when setting access policy on a share.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the access policies to set on the share.Gets theShareRequestConditions.setPermissions(List<ShareSignedIdentifier> permissions) Sets the access policies to set on the share.setRequestConditions(ShareRequestConditions requestConditions) Sets theShareRequestConditions.
-
Constructor Details
-
ShareSetAccessPolicyOptions
public ShareSetAccessPolicyOptions()Creates a new instance ofShareSetAccessPolicyOptions.
-
-
Method Details
-
getPermissions
Gets the access policies to set on the share.- Returns:
- Access policies to set on the share.
-
setPermissions
Sets the access policies to set on the share.- Parameters:
permissions- Access policies to set on the share.- Returns:
- The updated options.
-
getRequestConditions
Gets theShareRequestConditions.- Returns:
ShareRequestConditions.
-