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()

Gets the access type for the file system.

String getEncryptionScope()

Gets the file system's encryption scope.

String getETag()

Gets the eTag of the file system.

OffsetDateTime getLastModified()

Gets the time the file system was last modified.

LeaseDurationType getLeaseDuration()

Gets the type of lease on the file system.

LeaseStateType getLeaseState()

Gets the lease state of the file system.

LeaseStatusType getLeaseStatus()

Gets the lease status of the file system.

Map<String,String> getMetadata()

Gets the metadata associated with the file system.

boolean hasImmutabilityPolicy()

Gets the immutability status for the file system.

boolean hasLegalHold()

Gets the legal hold status for the file system.

Boolean isEncryptionScopeOverridePrevented()

Gets the file system's deny encryption scope override property.

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()

Gets the access type for the file system.

Returns:

the access type for the file system

getEncryptionScope

public String getEncryptionScope()

Gets the file system's encryption scope.

Returns:

the file system's encryption scope

getETag

public String getETag()

Gets the eTag of the file system.

Returns:

the eTag of the file system

getLastModified

public OffsetDateTime getLastModified()

Gets the time the file system was last modified.

Returns:

the time the file system was last modified

getLeaseDuration

public LeaseDurationType getLeaseDuration()

Gets the type of lease on the file system.

Returns:

the type of lease on the file system

getLeaseState

public LeaseStateType getLeaseState()

Gets the lease state of the file system.

Returns:

the lease state of the file system

getLeaseStatus

public LeaseStatusType getLeaseStatus()

Gets the lease status of the file system.

Returns:

the lease status of the file system

getMetadata

public Map getMetadata()

Gets the metadata associated with the file system.

Returns:

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

isEncryptionScopeOverridePrevented

public Boolean isEncryptionScopeOverridePrevented()

Gets the file system's deny encryption scope override property.

Returns:

the file system's deny encryption scope override property.

Applies to