你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareFileSetPropertiesOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareFileSetPropertiesOptions
- com.
public class ShareFileSetPropertiesOptions
Extended options that may be passed when setting properties of a file.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareFileSetPropertiesOptions(long sizeInBytes) |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareFileSetPropertiesOptions
public ShareFileSetPropertiesOptions(long sizeInBytes)
Parameters:
Method Details
getFilePermissions
getHttpHeaders
public ShareFileHttpHeaders getHttpHeaders()
Returns:
getRequestConditions
getSizeInBytes
public long getSizeInBytes()
Returns:
getSmbProperties
public FileSmbProperties getSmbProperties()
Returns:
setFilePermissions
public ShareFileSetPropertiesOptions setFilePermissions(ShareFilePermission filePermissions)
Sets the ShareFilePermission.
Parameters:
Returns:
setHttpHeaders
public ShareFileSetPropertiesOptions setHttpHeaders(ShareFileHttpHeaders httpHeaders)
Sets the file's http headers.
Parameters:
Returns:
setRequestConditions
public ShareFileSetPropertiesOptions setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions.
Parameters:
Returns:
setSmbProperties
public ShareFileSetPropertiesOptions setSmbProperties(FileSmbProperties smbProperties)
Parameters:
Returns: