Class FileSystemProperties
java.lang.Object
com.azure.storage.file.datalake.models.FileSystemProperties
Properties of a file system.
-
Constructor Summary
ConstructorDescriptionFileSystemProperties
(Map<String, String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType dataLakePublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold) Constructs aFileSystemProperties
. -
Method Summary
-
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 aFileSystemProperties
.- 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
- Returns:
- the metadata associated with the file system
-
getETag
- Returns:
- the eTag of the file system
-
getLastModified
- Returns:
- the time the file system was last modified
-
getLeaseDuration
- Returns:
- the type of lease on the file system
-
getLeaseState
- Returns:
- the lease state of the file system
-
getLeaseStatus
- Returns:
- the lease status of the file system
-
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
-
getEncryptionScope
- Returns:
- the file system's encryption scope
-
isEncryptionScopeOverridePrevented
- Returns:
- the file system's deny encryption scope override property.
-