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) |
Creates a new instance of ShareFileSetPropertiesOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareFileSetPropertiesOptions
public ShareFileSetPropertiesOptions(long sizeInBytes)
Creates a new instance of ShareFileSetPropertiesOptions.
Parameters:
Method Details
getFilePermissions
getHttpHeaders
public ShareFileHttpHeaders getHttpHeaders()
Gets the file's http headers.
Returns:
getPosixProperties
public FilePosixProperties getPosixProperties()
Optional properties to set on NFS files. Note that this property is only applicable to files created in NFS shares.
Returns:
getRequestConditions
getSizeInBytes
public long getSizeInBytes()
Gets the new size for the file share.
Returns:
getSmbProperties
public FileSmbProperties getSmbProperties()
Gets the optional SMB properties to set on the destination file or directory.
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:
setPosixProperties
public ShareFileSetPropertiesOptions setPosixProperties(FilePosixProperties posixProperties)
Optional properties to set on NFS files. Note that this property is only applicable to files created in NFS shares.
Parameters:
Returns:
setRequestConditions
public ShareFileSetPropertiesOptions setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions.
Parameters:
Returns:
setSmbProperties
public ShareFileSetPropertiesOptions setSmbProperties(FileSmbProperties smbProperties)
Sets the optional SMB properties to set on the destination file or directory.
Parameters:
Returns:
Applies to
Azure SDK for Java