Class FileSystemItemProperties
java.lang.Object
com.azure.storage.file.datalake.models.FileSystemItemProperties
Properties of a file system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionScope property: The encryptionScope property.getETag()
Get the eTag property: The eTag property.Get the lastModified property: The lastModified property.Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.Get the publicAccess property: Possible values include: 'container', 'blob'.Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.Get the hasLegalHold property: The hasLegalHold property.Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.setEncryptionScope
(String encryptionScope) Set the encryptionScope property: The encryptionScope property.setEncryptionScopeOverridePrevented
(Boolean encryptionScopeOverridePrevented) Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.Set the eTag property: The eTag property.setHasImmutabilityPolicy
(Boolean hasImmutabilityPolicy) Set the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.setHasLegalHold
(Boolean hasLegalHold) Set the hasLegalHold property: The hasLegalHold property.setLastModified
(OffsetDateTime lastModified) Set the lastModified property: The lastModified property.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.setLeaseState
(LeaseStateType leaseState) Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.setLeaseStatus
(LeaseStatusType leaseStatus) Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.setPublicAccess
(PublicAccessType publicAccess) Set the publicAccess property: Possible values include: 'container', 'blob'.
-
Constructor Details
-
FileSystemItemProperties
public FileSystemItemProperties()
-
-
Method Details
-
getLastModified
Get the lastModified property: The lastModified property.- Returns:
- the lastModified value.
-
setLastModified
Set the lastModified property: The lastModified property.- Parameters:
lastModified
- the lastModified value to set.- Returns:
- the FileSystemItemProperties object itself.
-
getETag
Get the eTag property: The eTag property.- Returns:
- the eTag value.
-
setETag
Set the eTag property: The eTag property.- Parameters:
eTag
- the eTag value to set.- Returns:
- the FileSystemItemProperties object itself.
-
getLeaseStatus
Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.- Returns:
- the leaseStatus value.
-
setLeaseStatus
Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.- Parameters:
leaseStatus
- the leaseStatus value to set.- Returns:
- the FileSystemItemProperties object itself.
-
getLeaseState
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.- Returns:
- the leaseState value.
-
setLeaseState
Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.- Parameters:
leaseState
- the leaseState value to set.- Returns:
- the FileSystemItemProperties object itself.
-
getLeaseDuration
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.- Returns:
- the leaseDuration value.
-
setLeaseDuration
Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.- Parameters:
leaseDuration
- the leaseDuration value to set.- Returns:
- the FileSystemItemProperties object itself.
-
getPublicAccess
Get the publicAccess property: Possible values include: 'container', 'blob'.- Returns:
- the publicAccess value.
-
setPublicAccess
Set the publicAccess property: Possible values include: 'container', 'blob'.- Parameters:
publicAccess
- the publicAccess value to set.- Returns:
- the FileSystemItemProperties object itself.
-
hasImmutabilityPolicy
Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.- Returns:
- the hasImmutabilityPolicy value.
-
setHasImmutabilityPolicy
Set the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.- Parameters:
hasImmutabilityPolicy
- the hasImmutabilityPolicy value to set.- Returns:
- the FileSystemItemProperties object itself.
-
hasLegalHold
Get the hasLegalHold property: The hasLegalHold property.- Returns:
- the hasLegalHold value.
-
setHasLegalHold
Set the hasLegalHold property: The hasLegalHold property.- Parameters:
hasLegalHold
- the hasLegalHold value to set.- Returns:
- the FileSystemItemProperties object itself.
-
getEncryptionScope
Get the encryptionScope property: The encryptionScope property.- Returns:
- the encryptionScope value.
-
setEncryptionScope
Set the encryptionScope property: The encryptionScope property.- Parameters:
encryptionScope
- the encryptionScope value to set.- Returns:
- the FileSystemItemProperties object itself.
-
isEncryptionScopeOverridePrevented
Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.- Returns:
- the encryptionScopeOverridePrevented value.
-
setEncryptionScopeOverridePrevented
public FileSystemItemProperties setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented) Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.- Parameters:
encryptionScopeOverridePrevented
- the encryptionScopeOverridePrevented value to set.- Returns:
- the FileSystemItemProperties object itself.
-