ShareSetAccessPolicyOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareSetAccessPolicyOptions
- com.
public class ShareSetAccessPolicyOptions
Extended options that may be passed when setting access policy on a share.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareSetAccessPolicyOptions() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareSetAccessPolicyOptions
public ShareSetAccessPolicyOptions()
Method Details
getPermissions
public List
Returns:
Access policies to set on the share.
getRequestConditions
setPermissions
public ShareSetAccessPolicyOptions setPermissions(List
Parameters:
permissions
- Access policies to set on the share.
Returns:
The updated options.
setRequestConditions
public ShareSetAccessPolicyOptions setRequestConditions(ShareRequestConditions requestConditions)
Parameters:
requestConditions
- ShareRequestConditions.
Returns:
The updated options.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java