Class ShareFileCreateSymbolicLinkOptions
java.lang.Object
com.azure.storage.file.share.options.ShareFileCreateSymbolicLinkOptions
NFS only. Options that may be passed when creating a symbolic link for a file.
-
Constructor Summary
ConstructorsConstructorDescriptionShareFileCreateSymbolicLinkOptions
(String linkText) Creates a new instance ofShareFileCreateSymbolicLinkOptions
. -
Method Summary
Modifier and TypeMethodDescriptionOptional creation time of the symbolic link.Optional last write time of the symbolic link.getGroup()
Optional.Required.Optional custom metadata to set for the symbolic link.getOwner()
Optional.OptionalShareRequestConditions
to add conditions on creating the symbolic link.setFileCreationTime
(OffsetDateTime fileCreationTime) Optional creation time of the symbolic link.setFileLastWriteTime
(OffsetDateTime fileLastWriteTime) Optional last write time of the symbolic link.Optional.setMetadata
(Map<String, String> metadata) Optional custom metadata to set for the symbolic link.Optional.setRequestConditions
(ShareRequestConditions requestConditions) OptionalShareRequestConditions
to add conditions on creating the symbolic link.
-
Constructor Details
-
ShareFileCreateSymbolicLinkOptions
Creates a new instance ofShareFileCreateSymbolicLinkOptions
.- Parameters:
linkText
- The absolute or relative path of the file to be linked to.
-
-
Method Details
-
getMetadata
Optional custom metadata to set for the symbolic link.- Returns:
- the custom metadata for the creation of the symbolic link.
-
setMetadata
Optional custom metadata to set for the symbolic link.- Parameters:
metadata
- the custom metadata for the creation of the symbolic link.- Returns:
- the updated options.
-
getFileCreationTime
Optional creation time of the symbolic link.- Returns:
- the creation time of the symbolic link.
-
setFileCreationTime
Optional creation time of the symbolic link.- Parameters:
fileCreationTime
- the creation time of the symbolic link.- Returns:
- the updated options.
-
getFileLastWriteTime
Optional last write time of the symbolic link.- Returns:
- the last write time of the symbolic link.
-
setFileLastWriteTime
Optional last write time of the symbolic link.- Parameters:
fileLastWriteTime
- the last write time of the symbolic link.- Returns:
- the updated options.
-
getOwner
Optional. The owner user identifier (UID) to be set on the symbolic link. The default value is 0 (root).- Returns:
- the owner for the creation of the symbolic link.
-
setOwner
Optional. The owner user identifier (UID) to be set on the symbolic link. The default value is 0 (root).- Parameters:
owner
- the owner for the creation of the symbolic link.- Returns:
- the updated options.
-
getGroup
Optional. The owner group identifier (GID) to be set on the symbolic link. The default value is 0 (root group).- Returns:
- the group for the creation of the symbolic link.
-
setGroup
Optional. The owner group identifier (GID) to be set on the symbolic link. The default value is 0 (root group).- Parameters:
group
- the group for the creation of the symbolic link.- Returns:
- the updated options.
-
getRequestConditions
OptionalShareRequestConditions
to add conditions on creating the symbolic link.- Returns:
- the
ShareRequestConditions
for the creation of the symbolic link.
-
getLinkText
Required. The absolute or relative path of the file to be linked to.- Returns:
- the absolute or relative path of the file to be linked to.
-