ShareDirectoryCreateOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareDirectoryCreateOptions
- com.
public class ShareDirectoryCreateOptions
Extended options that may be passed when creating a share directory.
Constructor Summary
Constructor | Description |
---|---|
ShareDirectoryCreateOptions() |
Creates a new instance of ShareDirectoryCreateOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getFilePermission()
Gets the file permission key. |
Map<String,String> |
getMetadata()
Gets the metadata to associate with the directory. |
File |
getSmbProperties()
Gets the SMB properties to set on the destination directory. |
Share |
setFilePermission(String filePermissionKey)
Sets the file permission key. |
Share |
setMetadata(Map<String,String> metadata)
Sets the metadata to associate with the directory. |
Share |
setSmbProperties(FileSmbProperties smbProperties)
Sets the SMB properties to set on the destination directory. |
Methods inherited from java.lang.Object
Constructor Details
ShareDirectoryCreateOptions
public ShareDirectoryCreateOptions()
Creates a new instance of ShareDirectoryCreateOptions.
Method Details
getFilePermission
public String getFilePermission()
Gets the file permission key.
Returns:
getMetadata
public Map
Gets the metadata to associate with the directory.
Returns:
getSmbProperties
public FileSmbProperties getSmbProperties()
Gets the SMB properties to set on the destination directory.
Returns:
setFilePermission
public ShareDirectoryCreateOptions setFilePermission(String filePermissionKey)
Sets the file permission key.
Parameters:
Returns:
setMetadata
public ShareDirectoryCreateOptions setMetadata(Map
Sets the metadata to associate with the directory.
Parameters:
Returns:
setSmbProperties
public ShareDirectoryCreateOptions setSmbProperties(FileSmbProperties smbProperties)
Sets the SMB properties to set on the destination directory.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for