Uses of Enum
com.azure.storage.file.datalake.models.LeaseDurationType
Package
Description
Package containing classes for AzureDataLakeStorageRestAPI.
-
Uses of LeaseDurationType in com.azure.storage.file.datalake.models
Modifier and TypeMethodDescriptionstatic LeaseDurationType
LeaseDurationType.fromString
(String value) Parses a serialized value to a LeaseDurationType instance.FileQueryHeaders.getLeaseDuration()
Get the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.FileReadHeaders.getLeaseDuration()
Get the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.FileSystemItemProperties.getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.FileSystemProperties.getLeaseDuration()
PathProperties.getLeaseDuration()
static LeaseDurationType
Returns the enum constant of this type with the specified name.static LeaseDurationType[]
LeaseDurationType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionFileQueryHeaders.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.FileReadHeaders.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.FileSystemItemProperties.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.ModifierConstructorDescriptionFileSystemProperties
(Map<String, String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType dataLakePublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold) Constructs aFileSystemProperties
.PathProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long fileSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, AccessTier accessTier, ArchiveStatus archiveStatus, String encryptionKeySha256, OffsetDateTime accessTierChangeTime, Map<String, String> metadata) Constructs aPathProperties
.PathProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long fileSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, AccessTier accessTier, ArchiveStatus archiveStatus, String encryptionKeySha256, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, OffsetDateTime expiresOn) Constructs aPathProperties
.