Freigeben über


ShareSetAccessPolicyOptions Class

  • java.lang.Object
    • com.azure.storage.file.share.options.ShareSetAccessPolicyOptions

public class ShareSetAccessPolicyOptions

Extended options that may be passed when setting access policy on a share.

Constructor Summary

Constructor Description
ShareSetAccessPolicyOptions()

Method Summary

Modifier and Type Method and Description
List<ShareSignedIdentifier> getPermissions()
ShareRequestConditions getRequestConditions()
ShareSetAccessPolicyOptions setPermissions(List<ShareSignedIdentifier> permissions)
ShareSetAccessPolicyOptions setRequestConditions(ShareRequestConditions requestConditions)

Methods inherited from java.lang.Object

Constructor Details

ShareSetAccessPolicyOptions

public ShareSetAccessPolicyOptions()

Method Details

getPermissions

public List getPermissions()

Returns:

Access policies to set on the share.

getRequestConditions

public ShareRequestConditions getRequestConditions()

Returns:

setPermissions

public ShareSetAccessPolicyOptions setPermissions(List permissions)

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