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