ShareFileRenameOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareFileRenameOptions
- com.
public final class ShareFileRenameOptions
Extended options that may be passed when renaming a file or directory.
Constructor Summary
Constructor | Description |
---|---|
ShareFileRenameOptions(String destinationPath) |
Creates a |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareFileRenameOptions
public ShareFileRenameOptions(String destinationPath)
Creates a ShareFileRenameOptions
object.
Parameters:
Method Details
getContentType
public String getContentType()
Gets the content type.
Returns:
getDestinationPath
public String getDestinationPath()
Returns:
getDestinationRequestConditions
public ShareRequestConditions getDestinationRequestConditions()
Returns:
getFilePermission
public String getFilePermission()
Returns:
getMetadata
public Map
Returns:
getReplaceIfExists
public Boolean getReplaceIfExists()
Returns:
getSmbProperties
public FileSmbProperties getSmbProperties()
Returns:
getSourceRequestConditions
public ShareRequestConditions getSourceRequestConditions()
Returns:
isIgnoreReadOnly
public Boolean isIgnoreReadOnly()
Returns:
setContentType
public ShareFileRenameOptions setContentType(String contentType)
Sets the content type.
Parameters:
Returns:
setDestinationRequestConditions
public ShareFileRenameOptions setDestinationRequestConditions(ShareRequestConditions destinationRequestConditions)
Parameters:
Returns:
setFilePermission
public ShareFileRenameOptions setFilePermission(String filePermission)
Parameters:
Returns:
setIgnoreReadOnly
public ShareFileRenameOptions setIgnoreReadOnly(Boolean ignoreReadOnly)
Parameters:
Returns:
setMetadata
public ShareFileRenameOptions setMetadata(Map
Parameters:
Returns:
setReplaceIfExists
public ShareFileRenameOptions setReplaceIfExists(Boolean replaceIfExists)
Parameters:
Returns:
setSmbProperties
public ShareFileRenameOptions setSmbProperties(FileSmbProperties smbProperties)
Parameters:
Returns:
setSourceRequestConditions
public ShareFileRenameOptions setSourceRequestConditions(ShareRequestConditions sourceRequestConditions)
Parameters:
Returns:
Applies to
Azure SDK for Java