Package com.azure.data.tables.models
Class TableAccessPolicy
- java.lang.Object
-
- com.azure.data.tables.models.TableAccessPolicy
-
public final class TableAccessPolicy extends Object
A table's access policy.
-
-
Constructor Summary
Constructors Constructor Description TableAccessPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimegetExpiresOn()Get thedate-timethe policy expires.StringgetPermissions()Get the permissions for the acl policy.OffsetDateTimegetStartsOn()Get thedate-timethe policy is active.TableAccessPolicysetExpiresOn(OffsetDateTime expiresOn)Set thedate-timethe policy expires.TableAccessPolicysetPermissions(String permissions)Set the permissions for the acl policy.TableAccessPolicysetStartsOn(OffsetDateTime startsOn)Set thedate-timethe policy is active.
-
-
-
Method Detail
-
getStartsOn
public OffsetDateTime getStartsOn()
Get thedate-timethe policy is active.- Returns:
- The
date-timethe policy is active.
-
setStartsOn
public TableAccessPolicy setStartsOn(OffsetDateTime startsOn)
Set thedate-timethe policy is active.- Parameters:
startsOn- ThestartsOnvalue to set.- Returns:
- The updated
TableAccessPolicyobject.
-
getExpiresOn
public OffsetDateTime getExpiresOn()
Get thedate-timethe policy expires.- Returns:
- The
date-timethe policy expires.
-
setExpiresOn
public TableAccessPolicy setExpiresOn(OffsetDateTime expiresOn)
Set thedate-timethe policy expires.- Parameters:
expiresOn- TheexpiresOnvalue to set.- Returns:
- The updated
TableAccessPolicyobject.
-
getPermissions
public String getPermissions()
Get the permissions for the acl policy.- Returns:
- The
TableAccessPolicy's permissions.
-
setPermissions
public TableAccessPolicy setPermissions(String permissions)
Set the permissions for the acl policy.- Parameters:
permissions- The permissions to set.- Returns:
- The updated
TableAccessPolicyobject.
-
-