Class ShareRequestConditions
java.lang.Object
com.azure.storage.file.share.models.ShareRequestConditions
This class contains values which will restrict the successful operation of a variety of requests to the conditions
present. These conditions are entirely optional. The entire object or any of its properties may be set to null when
passed to a method to indicate that those conditions are not desired. Please refer to the type of each field for more
information on those particular access conditions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the lease ID that files and shares must match.setLeaseId
(String leaseId) Optionally limits requests to files and shares that match the lease ID.
-
Constructor Details
-
ShareRequestConditions
public ShareRequestConditions()
-
-
Method Details
-
getLeaseId
Gets the lease ID that files and shares must match.- Returns:
- The lease ID that files and shares must match.
-
setLeaseId
Optionally limits requests to files and shares that match the lease ID.- Parameters:
leaseId
- Lease ID that files and shares must match.- Returns:
- The updated ShareRequestConditions object.
-