Partilhar via


FileSystemItemProperties Class

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

public final class FileSystemItemProperties

Properties of a file system.

Constructor Summary

Constructor Description
FileSystemItemProperties()

Method Summary

Modifier and Type Method and Description
String getETag()

Get the eTag property: The eTag property.

String getEncryptionScope()

Get the encryptionScope property: The encryptionScope property.

OffsetDateTime getLastModified()

Get the lastModified property: The lastModified property.

LeaseDurationType getLeaseDuration()

Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.

LeaseStateType getLeaseState()

Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.

LeaseStatusType getLeaseStatus()

Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.

PublicAccessType getPublicAccess()

Get the publicAccess property: Possible values include: 'container', 'blob'.

Boolean hasImmutabilityPolicy()

Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.

Boolean hasLegalHold()

Get the hasLegalHold property: The hasLegalHold property.

Boolean isEncryptionScopeOverridePrevented()

Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.

FileSystemItemProperties setETag(String eTag)

Set the eTag property: The eTag property.

FileSystemItemProperties setEncryptionScope(String encryptionScope)

Set the encryptionScope property: The encryptionScope property.

FileSystemItemProperties setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented)

Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.

FileSystemItemProperties setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)

Set the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.

FileSystemItemProperties setHasLegalHold(Boolean hasLegalHold)

Set the hasLegalHold property: The hasLegalHold property.

FileSystemItemProperties setLastModified(OffsetDateTime lastModified)

Set the lastModified property: The lastModified property.

FileSystemItemProperties setLeaseDuration(LeaseDurationType leaseDuration)

Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.

FileSystemItemProperties setLeaseState(LeaseStateType leaseState)

Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.

FileSystemItemProperties setLeaseStatus(LeaseStatusType leaseStatus)

Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.

FileSystemItemProperties setPublicAccess(PublicAccessType publicAccess)

Set the publicAccess property: Possible values include: 'container', 'blob'.

Methods inherited from java.lang.Object

Constructor Details

FileSystemItemProperties

public FileSystemItemProperties()

Method Details

getETag

public String getETag()

Get the eTag property: The eTag property.

Returns:

the eTag value.

getEncryptionScope

public String getEncryptionScope()

Get the encryptionScope property: The encryptionScope property.

Returns:

the encryptionScope value.

getLastModified

public OffsetDateTime getLastModified()

Get the lastModified property: The lastModified property.

Returns:

the lastModified value.

getLeaseDuration

public LeaseDurationType getLeaseDuration()

Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.

Returns:

the leaseDuration value.

getLeaseState

public LeaseStateType getLeaseState()

Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.

Returns:

the leaseState value.

getLeaseStatus

public LeaseStatusType getLeaseStatus()

Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.

Returns:

the leaseStatus value.

getPublicAccess

public PublicAccessType getPublicAccess()

Get the publicAccess property: Possible values include: 'container', 'blob'.

Returns:

the publicAccess value.

hasImmutabilityPolicy

public Boolean hasImmutabilityPolicy()

Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.

Returns:

the hasImmutabilityPolicy value.

hasLegalHold

public Boolean hasLegalHold()

Get the hasLegalHold property: The hasLegalHold property.

Returns:

the hasLegalHold value.

isEncryptionScopeOverridePrevented

public Boolean isEncryptionScopeOverridePrevented()

Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.

Returns:

the encryptionScopeOverridePrevented value.

setETag

public FileSystemItemProperties setETag(String eTag)

Set the eTag property: The eTag property.

Parameters:

eTag - the eTag value to set.

Returns:

the FileSystemItemProperties object itself.

setEncryptionScope

public FileSystemItemProperties setEncryptionScope(String encryptionScope)

Set the encryptionScope property: The encryptionScope property.

Parameters:

encryptionScope - the encryptionScope value to set.

Returns:

the FileSystemItemProperties object itself.

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.

setHasImmutabilityPolicy

public FileSystemItemProperties setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)

Set the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.

Parameters:

hasImmutabilityPolicy - the hasImmutabilityPolicy value to set.

Returns:

the FileSystemItemProperties object itself.

setHasLegalHold

public FileSystemItemProperties setHasLegalHold(Boolean hasLegalHold)

Set the hasLegalHold property: The hasLegalHold property.

Parameters:

hasLegalHold - the hasLegalHold value to set.

Returns:

the FileSystemItemProperties object itself.

setLastModified

public FileSystemItemProperties setLastModified(OffsetDateTime lastModified)

Set the lastModified property: The lastModified property.

Parameters:

lastModified - the lastModified value to set.

Returns:

the FileSystemItemProperties object itself.

setLeaseDuration

public FileSystemItemProperties setLeaseDuration(LeaseDurationType leaseDuration)

Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.

Parameters:

leaseDuration - the leaseDuration value to set.

Returns:

the FileSystemItemProperties object itself.

setLeaseState

public FileSystemItemProperties setLeaseState(LeaseStateType leaseState)

Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.

Parameters:

leaseState - the leaseState value to set.

Returns:

the FileSystemItemProperties object itself.

setLeaseStatus

public FileSystemItemProperties setLeaseStatus(LeaseStatusType leaseStatus)

Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.

Parameters:

leaseStatus - the leaseStatus value to set.

Returns:

the FileSystemItemProperties object itself.

setPublicAccess

public FileSystemItemProperties setPublicAccess(PublicAccessType publicAccess)

Set the publicAccess property: Possible values include: 'container', 'blob'.

Parameters:

publicAccess - the publicAccess value to set.

Returns:

the FileSystemItemProperties object itself.

Applies to