Uses of Enum
com.azure.storage.file.share.models.LeaseDurationType
Package
Description
Package containing classes for AzureFileStorage.
-
Uses of LeaseDurationType in com.azure.storage.file.share.models
Modifier and TypeMethodDescriptionstatic LeaseDurationType
LeaseDurationType.fromString
(String value) Parses a serialized value to a LeaseDurationType instance.ShareFileDownloadHeaders.getLeaseDuration()
Get the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.ShareFileProperties.getLeaseDuration()
ShareProperties.getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.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 TypeMethodDescriptionShareFileDownloadHeaders.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: When a file is leased, specifies whether the lease is of infinite or fixed duration.ShareProperties.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.ModifierConstructorDescriptionShareFileProperties
(String eTag, OffsetDateTime lastModified, Map<String, String> metadata, String fileType, Long contentLength, String contentType, byte[] contentMd5, String contentEncoding, String cacheControl, String contentDisposition, LeaseStatusType leaseStatusType, LeaseStateType leaseStateType, LeaseDurationType leaseDurationType, OffsetDateTime copyCompletionTime, String copyStatusDescription, String copyId, String copyProgress, String copySource, CopyStatusType copyStatus, Boolean isServerEncrypted, FileSmbProperties smbProperties) Creates an instance of property information about a specific File.