Uses of Enum
com.azure.storage.file.share.models.LeaseStateType
Packages that use LeaseStateType
Package
Description
Package containing the data models for AzureFileStorage.
-
Uses of LeaseStateType in com.azure.storage.file.share.models
Methods in com.azure.storage.file.share.models that return LeaseStateTypeModifier and TypeMethodDescriptionstatic LeaseStateTypeLeaseStateType.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 LeaseStateTypeReturns 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.Methods in com.azure.storage.file.share.models with parameters of type LeaseStateTypeModifier 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'.Constructors in com.azure.storage.file.share.models with parameters of type LeaseStateTypeModifierConstructorDescriptionShareFileProperties(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.