| Package | Description |
|---|---|
| com.azure.storage.file.share.models |
Package containing classes for AzureFileStorage.
|
| Modifier and Type | Method and Description |
|---|---|
static LeaseDurationType |
LeaseDurationType.fromString(String value)
Parses a serialized value to a LeaseDurationType instance.
|
LeaseDurationType |
ShareFileProperties.getLeaseDuration() |
LeaseDurationType |
ShareFileDownloadHeaders.getLeaseDuration()
Get the leaseDuration property: When a file is leased, specifies whether
the lease is of infinite or fixed duration.
|
LeaseDurationType |
ShareProperties.getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite',
'fixed'.
|
static LeaseDurationType |
LeaseDurationType.valueOf(String name)
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 Type | Method and Description |
|---|---|
ShareFileDownloadHeaders |
ShareFileDownloadHeaders.setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: When a file is leased, specifies whether
the lease is of infinite or fixed duration.
|
ShareProperties |
ShareProperties.setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: Possible values include: 'infinite',
'fixed'.
|
| Constructor and Description |
|---|
ShareFileProperties(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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.