Uses of Class
com.azure.storage.file.share.ShareFileClient
Packages that use ShareFileClient
Package
Description
This package contains the classes to perform actions on Azure Storage File.
Package containing specialized clients for Azure Storage Files.
-
Uses of ShareFileClient in com.azure.storage.file.share
Methods in com.azure.storage.file.share that return ShareFileClientModifier and TypeMethodDescriptionShareFileClientBuilder.buildFileClient()Creates aShareFileClientbased on options set in the builder.ShareClient.createFile(String fileName, long maxSize) Creates the file in the share with the given name and file max size.ShareDirectoryClient.createFile(String fileName, long maxSize) Creates a file in this directory with specific name, max number of results and returns a response of ShareDirectoryInfo to interact with it.ShareClient.getFileClient(String filePath) Constructs aShareFileClientthat interacts with the specified file.ShareDirectoryClient.getFileClient(String fileName) Constructs a ShareFileClient that interacts with the specified file.Moves the file to another location within the share.Methods in com.azure.storage.file.share that return types with arguments of type ShareFileClientModifier and TypeMethodDescriptioncom.azure.core.http.rest.Response<ShareFileClient> ShareClient.createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Creates the file in the share with the given name, file max size and associates the passed properties to it.com.azure.core.http.rest.Response<ShareFileClient> ShareClient.createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, Duration timeout, com.azure.core.util.Context context) Creates the file in the share with the given name, file max size and associates the passed properties to it.com.azure.core.http.rest.Response<ShareFileClient> ShareDirectoryClient.createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Creates a file in this directory with specific name and returns a response of ShareDirectoryInfo to interact with it.com.azure.core.http.rest.Response<ShareFileClient> ShareDirectoryClient.createFileWithResponse(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, Duration timeout, com.azure.core.util.Context context) Creates a file in this directory with specific name and returns a response of ShareDirectoryInfo to interact with it.com.azure.core.http.rest.Response<ShareFileClient> ShareFileClient.renameWithResponse(ShareFileRenameOptions options, Duration timeout, com.azure.core.util.Context context) Moves the file to another location within the share. -
Uses of ShareFileClient in com.azure.storage.file.share.specialized
Methods in com.azure.storage.file.share.specialized with parameters of type ShareFileClientModifier and TypeMethodDescriptionShareLeaseClientBuilder.fileClient(ShareFileClient fileClient) Configures the builder based on the passedShareFileClient.