Package com.azure.data.tables.models
Class TableAccessPolicy
java.lang.Object
com.azure.data.tables.models.TableAccessPolicy
A table's access policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet thedate-time
the policy expires.Get the permissions for the acl policy.Get thedate-time
the policy is active.setExpiresOn
(OffsetDateTime expiresOn) Set thedate-time
the policy expires.setPermissions
(String permissions) Set the permissions for the acl policy.setStartsOn
(OffsetDateTime startsOn) Set thedate-time
the policy is active.
-
Constructor Details
-
TableAccessPolicy
public TableAccessPolicy()
-
-
Method Details
-
getStartsOn
Get thedate-time
the policy is active.- Returns:
- The
date-time
the policy is active.
-
setStartsOn
Set thedate-time
the policy is active.- Parameters:
startsOn
- ThestartsOn
value to set.- Returns:
- The updated
TableAccessPolicy
object.
-
getExpiresOn
Get thedate-time
the policy expires.- Returns:
- The
date-time
the policy expires.
-
setExpiresOn
Set thedate-time
the policy expires.- Parameters:
expiresOn
- TheexpiresOn
value to set.- Returns:
- The updated
TableAccessPolicy
object.
-
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
TableAccessPolicy
object.
-