Uses of Enum
com.azure.storage.file.share.models.LeaseStateType
Package
Description
Package containing classes for AzureFileStorage.
-
Uses of LeaseStateType in com.azure.storage.file.share.models
Modifier and TypeMethodDescriptionstatic LeaseStateType
LeaseStateType.fromString
(String value) Parses a serialized value to a LeaseStateType instance.ShareFileDownloadHeaders.getLeaseState()
Get the leaseState property: Lease state of the file.ShareFileProperties.getLeaseState()
ShareProperties.getLeaseState()
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.static LeaseStateType
Returns the enum constant of this type with the specified name.static LeaseStateType[]
LeaseStateType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionShareFileDownloadHeaders.setLeaseState
(LeaseStateType leaseState) Set the leaseState property: Lease state of the file.ShareProperties.setLeaseState
(LeaseStateType leaseState) Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.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.