ShareFileCreateHardLinkOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareFileCreateHardLinkOptions
- com.
public final class ShareFileCreateHardLinkOptions
Options that may be passed when creating a hard link for a file.
Constructor Summary
Constructor | Description |
---|---|
ShareFileCreateHardLinkOptions(String targetFile) |
Creates a new instance of ShareFileCreateHardLinkOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Share |
getRequestConditions()
Optional ShareRequestConditions to add conditions on creating the hard link. |
String |
getTargetFile()
Gets the path of the target file to create the hard link to, not including the share. |
Share |
setRequestConditions(ShareRequestConditions requestConditions)
Optional ShareRequestConditions to add conditions on creating the hard link. |
Methods inherited from java.lang.Object
Constructor Details
ShareFileCreateHardLinkOptions
public ShareFileCreateHardLinkOptions(String targetFile)
Creates a new instance of ShareFileCreateHardLinkOptions.
Parameters:
targetDirectory/targetSubDirectory/.../targetFile
Method Details
getRequestConditions
public ShareRequestConditions getRequestConditions()
Optional ShareRequestConditions to add conditions on creating the hard link.
Returns:
getTargetFile
public String getTargetFile()
Gets the path of the target file to create the hard link to, not including the share.
Returns:
targetDirectory/targetSubDirectory/.../targetFile
setRequestConditions
public ShareFileCreateHardLinkOptions setRequestConditions(ShareRequestConditions requestConditions)
Optional ShareRequestConditions to add conditions on creating the hard link.
Parameters:
Returns:
Applies to
Azure SDK for Java