Class FileSystemProperties

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

public final class FileSystemProperties extends Object
Properties of a file system.
  • Constructor Details

    • FileSystemProperties

      public FileSystemProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType dataLakePublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold)
      Constructs a FileSystemProperties.
      Parameters:
      metadata - Metadata associated with the file system.
      eTag - ETag of the file system.
      lastModified - Datetime when the file system was last modified.
      leaseDuration - Type of the lease on the file system.
      leaseState - State of the lease on the file system.
      leaseStatus - Status of the lease on the file system.
      dataLakePublicAccess - Public access status for the file system.
      hasImmutabilityPolicy - Flag indicating if the file system has an immutability policy set on it.
      hasLegalHold - Flag indicating if the file system has a legal hold.
  • Method Details

    • getMetadata

      public Map<String,String> getMetadata()
      Returns:
      the metadata associated with the file system
    • getETag

      public String getETag()
      Returns:
      the eTag of the file system
    • getLastModified

      public OffsetDateTime getLastModified()
      Returns:
      the time the file system was last modified
    • getLeaseDuration

      public LeaseDurationType getLeaseDuration()
      Returns:
      the type of lease on the file system
    • getLeaseState

      public LeaseStateType getLeaseState()
      Returns:
      the lease state of the file system
    • getLeaseStatus

      public LeaseStatusType getLeaseStatus()
      Returns:
      the lease status of the file system
    • getDataLakePublicAccess

      public PublicAccessType getDataLakePublicAccess()
      Returns:
      the access type for the file system
    • hasImmutabilityPolicy

      public boolean hasImmutabilityPolicy()
      Returns:
      the immutability status for the file system
    • hasLegalHold

      public boolean hasLegalHold()
      Returns:
      the legal hold status for the file system