Package com.azure.data.tables.models
Class TableAccessPolicy
java.lang.Object
com.azure.data.tables.models.TableAccessPolicy
A table's access policy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet thedate-timethe policy expires.Get the permissions for the acl policy.Get thedate-timethe policy is active.setExpiresOn(OffsetDateTime expiresOn) Set thedate-timethe policy expires.setPermissions(String permissions) Set the permissions for the acl policy.setStartsOn(OffsetDateTime startsOn) Set thedate-timethe policy is active.
-
Constructor Details
-
TableAccessPolicy
public TableAccessPolicy()
-
-
Method Details
-
getStartsOn
Get thedate-timethe policy is active.- Returns:
- The
date-timethe policy is active.
-
setStartsOn
Set thedate-timethe policy is active.- Parameters:
startsOn- ThestartsOnvalue to set.- Returns:
- The updated
TableAccessPolicyobject.
-
getExpiresOn
Get thedate-timethe policy expires.- Returns:
- The
date-timethe policy expires.
-
setExpiresOn
Set thedate-timethe policy expires.- Parameters:
expiresOn- TheexpiresOnvalue to set.- Returns:
- The updated
TableAccessPolicyobject.
-
getPermissions
Get the permissions for the acl policy.- Returns:
- The
TableAccessPolicy's permissions.
-
setPermissions
Set the permissions for the acl policy.- Parameters:
permissions- The permissions to set.- Returns:
- The updated
TableAccessPolicyobject.
-