FileSystemProperties Class

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

public final class FileSystemProperties

Properties of a file system.

Constructor Summary

Constructor Description
FileSystemProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType dataLakePublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold)

Constructs a FileSystemProperties.

Method Summary

Modifier and Type Method and Description
PublicAccessType getDataLakePublicAccess()
String getETag()
String getEncryptionScope()
OffsetDateTime getLastModified()
LeaseDurationType getLeaseDuration()
LeaseStateType getLeaseState()
LeaseStatusType getLeaseStatus()
Map<String,String> getMetadata()
boolean hasImmutabilityPolicy()
boolean hasLegalHold()
Boolean isEncryptionScopeOverridePrevented()

Methods inherited from java.lang.Object

Constructor Details

FileSystemProperties

public FileSystemProperties(Map 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

getDataLakePublicAccess

public PublicAccessType getDataLakePublicAccess()

Returns:

the access type for the file system

getETag

public String getETag()

Returns:

the eTag of the file system

getEncryptionScope

public String getEncryptionScope()

Returns:

the file system's encryption scope

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

getMetadata

public Map getMetadata()

Returns:

the metadata associated with 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

isEncryptionScopeOverridePrevented

public Boolean isEncryptionScopeOverridePrevented()

Returns:

the file system's deny encryption scope override property.

Applies to