你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareRequestConditions Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareRequestConditions
- com.
public class 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
Constructor | Description |
---|---|
ShareRequestConditions() |
Creates a new instance of ShareRequestConditions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getLeaseId()
Gets the lease ID that files and shares must match. |
Share |
setLeaseId(String leaseId)
Optionally limits requests to files and shares that match the lease ID. |
Methods inherited from java.lang.Object
Constructor Details
ShareRequestConditions
public ShareRequestConditions()
Creates a new instance of ShareRequestConditions.
Method Details
getLeaseId
public String getLeaseId()
Gets the lease ID that files and shares must match.
Returns:
setLeaseId
public ShareRequestConditions setLeaseId(String leaseId)
Optionally limits requests to files and shares that match the lease ID.
Parameters:
Returns: