Class DataLakeAccessPolicy

java.lang.Object
com.azure.storage.file.datalake.models.DataLakeAccessPolicy

public final class DataLakeAccessPolicy extends Object
An Access policy.
  • Constructor Details

    • DataLakeAccessPolicy

      public DataLakeAccessPolicy()
  • Method Details

    • getStartsOn

      public OffsetDateTime getStartsOn()
      Get the startsOn property: the date-time the policy is active.
      Returns:
      the startsOn value.
    • setStartsOn

      public DataLakeAccessPolicy setStartsOn(OffsetDateTime startsOn)
      Set the startsOn property: the date-time the policy is active.
      Parameters:
      startsOn - the startsOn value to set.
      Returns:
      the DataLakeAccessPolicy object itself.
    • getExpiresOn

      public OffsetDateTime getExpiresOn()
      Get the expiresOn property: the date-time the policy expires.
      Returns:
      the expiresOn value.
    • setExpiresOn

      public DataLakeAccessPolicy setExpiresOn(OffsetDateTime expiresOn)
      Set the expiresOn property: the date-time the policy expires.
      Parameters:
      expiresOn - the expiresOn value to set.
      Returns:
      the DataLakeAccessPolicy object itself.
    • getPermissions

      public String getPermissions()
      Get the permissions property: the permissions for the acl policy.
      Returns:
      the permissions value.
    • setPermissions

      public DataLakeAccessPolicy setPermissions(String permissions)
      Set the permissions property: the permissions for the acl policy.
      Parameters:
      permissions - the permissions value to set.
      Returns:
      the DataLakeAccessPolicy object itself.