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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기