DataLakeAccessPolicy Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. DataLakeAccessPolicy
- com.
public final class DataLakeAccessPolicy
An Access policy.
Constructor Summary
Constructor | Description | |
---|---|---|
DataLakeAccessPolicy() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getExpiresOn()
Get the expires |
String |
getPermissions()
Get the permissions property: the permissions for the acl policy. |
Offset |
getStartsOn()
Get the starts |
Data |
setExpiresOn(OffsetDateTime expiresOn)
Set the expires |
Data |
setPermissions(String permissions)
Set the permissions property: the permissions for the acl policy. |
Data |
setStartsOn(OffsetDateTime startsOn)
Set the starts |
Methods inherited from java.lang.Object
Constructor Details
DataLakeAccessPolicy
public DataLakeAccessPolicy()
Method Details
getExpiresOn
public OffsetDateTime getExpiresOn()
Get the expiresOn property: the date-time the policy expires.
Returns:
getPermissions
public String getPermissions()
Get the permissions property: the permissions for the acl policy.
Returns:
getStartsOn
public OffsetDateTime getStartsOn()
Get the startsOn property: the date-time the policy is active.
Returns:
setExpiresOn
public DataLakeAccessPolicy setExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: the date-time the policy expires.
Parameters:
Returns:
setPermissions
public DataLakeAccessPolicy setPermissions(String permissions)
Set the permissions property: the permissions for the acl policy.
Parameters:
Returns:
setStartsOn
public DataLakeAccessPolicy setStartsOn(OffsetDateTime startsOn)
Set the startsOn property: the date-time the policy is active.
Parameters:
Returns:
Applies to
Azure SDK for Java