你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TableAccessPolicy Class
- java.
lang. Object - com.
azure. data. tables. models. TableAccessPolicy
- com.
public final class TableAccessPolicy
A table's access policy.
Constructor Summary
Constructor | Description |
---|---|
TableAccessPolicy() |
Creates an instance of TableAccessPolicy. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getExpiresOn()
Get the date-time the policy expires. |
String |
getPermissions()
Get the permissions for the acl policy. |
Offset |
getStartsOn()
Get the date-time the policy is active. |
Table |
setExpiresOn(OffsetDateTime expiresOn)
Set the date-time the policy expires. |
Table |
setPermissions(String permissions)
Set the permissions for the acl policy. |
Table |
setStartsOn(OffsetDateTime startsOn)
Set the date-time the policy is active. |
Methods inherited from java.lang.Object
Constructor Details
TableAccessPolicy
public TableAccessPolicy()
Creates an instance of TableAccessPolicy.
Method Details
getExpiresOn
public OffsetDateTime getExpiresOn()
Get the date-time the policy expires.
Returns:
getPermissions
public String getPermissions()
Get the permissions for the acl policy.
Returns:
getStartsOn
public OffsetDateTime getStartsOn()
Get the date-time the policy is active.
Returns:
setExpiresOn
public TableAccessPolicy setExpiresOn(OffsetDateTime expiresOn)
Set the date-time the policy expires.
Parameters:
Returns:
setPermissions
public TableAccessPolicy setPermissions(String permissions)
Set the permissions for the acl policy.
Parameters:
Returns:
setStartsOn
public TableAccessPolicy setStartsOn(OffsetDateTime startsOn)
Set the date-time the policy is active.
Parameters:
Returns: