FileSystemItemProperties Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. FileSystemItemProperties
- com.
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 e |
String |
getEncryptionScope()
Get the encryption |
Offset |
getLastModified()
Get the last |
Lease |
getLeaseDuration()
Get the lease |
Lease |
getLeaseState()
Get the lease |
Lease |
getLeaseStatus()
Get the lease |
Public |
getPublicAccess()
Get the public |
Boolean |
hasImmutabilityPolicy()
Get the has |
Boolean |
hasLegalHold()
Get the has |
Boolean |
isEncryptionScopeOverridePrevented()
Get the encryption |
File |
setETag(String eTag)
Set the e |
File |
setEncryptionScope(String encryptionScope)
Set the encryption |
File |
setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented)
Set the encryption |
File |
setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)
Set the has |
File |
setHasLegalHold(Boolean hasLegalHold)
Set the has |
File |
setLastModified(OffsetDateTime lastModified)
Set the last |
File |
setLeaseDuration(LeaseDurationType leaseDuration)
Set the lease |
File |
setLeaseState(LeaseStateType leaseState)
Set the lease |
File |
setLeaseStatus(LeaseStatusType leaseStatus)
Set the lease |
File |
setPublicAccess(PublicAccessType publicAccess)
Set the public |
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:
getEncryptionScope
public String getEncryptionScope()
Get the encryptionScope property: The encryptionScope property.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Get the lastModified property: The lastModified property.
Returns:
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.
Returns:
getLeaseState
public LeaseStateType getLeaseState()
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
Returns:
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.
Returns:
getPublicAccess
public PublicAccessType getPublicAccess()
Get the publicAccess property: Possible values include: 'container', 'blob'.
Returns:
hasImmutabilityPolicy
public Boolean hasImmutabilityPolicy()
Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.
Returns:
hasLegalHold
public Boolean hasLegalHold()
Get the hasLegalHold property: The hasLegalHold property.
Returns:
isEncryptionScopeOverridePrevented
public Boolean isEncryptionScopeOverridePrevented()
Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.
Returns:
setETag
public FileSystemItemProperties setETag(String eTag)
Set the eTag property: The eTag property.
Parameters:
Returns:
setEncryptionScope
public FileSystemItemProperties setEncryptionScope(String encryptionScope)
Set the encryptionScope property: The encryptionScope property.
Parameters:
Returns:
setEncryptionScopeOverridePrevented
public FileSystemItemProperties setEncryptionScopeOverridePrevented(Boolean encryptionScopeOverridePrevented)
Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.
Parameters:
Returns:
setHasImmutabilityPolicy
public FileSystemItemProperties setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)
Set the hasImmutabilityPolicy property: The hasImmutabilityPolicy property.
Parameters:
Returns:
setHasLegalHold
public FileSystemItemProperties setHasLegalHold(Boolean hasLegalHold)
Set the hasLegalHold property: The hasLegalHold property.
Parameters:
Returns:
setLastModified
public FileSystemItemProperties setLastModified(OffsetDateTime lastModified)
Set the lastModified property: The lastModified property.
Parameters:
Returns:
setLeaseDuration
public FileSystemItemProperties setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.
Parameters:
Returns:
setLeaseState
public FileSystemItemProperties setLeaseState(LeaseStateType leaseState)
Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
Parameters:
Returns:
setLeaseStatus
public FileSystemItemProperties setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.
Parameters:
Returns:
setPublicAccess
public FileSystemItemProperties setPublicAccess(PublicAccessType publicAccess)
Set the publicAccess property: Possible values include: 'container', 'blob'.
Parameters:
Returns:
Applies to
Azure SDK for Java