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() |
Creates a new instance of ShareSetAccessPolicyOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Share |
getPermissions()
Gets the access policies to set on the share. |
Share |
getRequestConditions()
Gets the ShareRequestConditions. |
Share |
setPermissions(List<ShareSignedIdentifier> permissions)
Sets the access policies to set on the share. |
Share |
setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions. |
Methods inherited from java.lang.Object
Constructor Details
ShareSetAccessPolicyOptions
public ShareSetAccessPolicyOptions()
Creates a new instance of ShareSetAccessPolicyOptions.
Method Details
getPermissions
public List
Gets the access policies to set on the share.
Returns:
getRequestConditions
setPermissions
public ShareSetAccessPolicyOptions setPermissions(List
Sets the access policies to set on the share.
Parameters:
Returns:
setRequestConditions
public ShareSetAccessPolicyOptions setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions.
Parameters:
Returns:
Applies to
Azure SDK for Java