Class DataLakeFileOutputStreamOptions
java.lang.Object
com.azure.storage.file.datalake.options.DataLakeFileOutputStreamOptions
Extended options that may be passed when opening an output stream to a file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theAccessTier.Gets thePathHttpHeaders.Gets the metadata to associate with the file.Gets theParallelTransferOptions.Gets theDataLakeRequestConditions.getTags()Gets the tags to associate with the file.setAccessTier(AccessTier tier) Sets theAccessTier.setHeaders(PathHttpHeaders headers) Sets thePathHttpHeaders.setMetadata(Map<String, String> metadata) Sets the metadata to associate with the file.setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) Sets theParallelTransferOptions.setRequestConditions(DataLakeRequestConditions requestConditions) Sets theDataLakeRequestConditions.Sets the tags to associate with the file.
-
Constructor Details
-
DataLakeFileOutputStreamOptions
public DataLakeFileOutputStreamOptions()Creates a new instance ofDataLakeFileOutputStreamOptions.
-
-
Method Details
-
getParallelTransferOptions
Gets theParallelTransferOptions.- Returns:
ParallelTransferOptions
-
setParallelTransferOptions
public DataLakeFileOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) Sets theParallelTransferOptions.- Parameters:
parallelTransferOptions-ParallelTransferOptions- Returns:
- The updated options.
-
getHeaders
Gets thePathHttpHeaders.- Returns:
PathHttpHeaders
-
setHeaders
Sets thePathHttpHeaders.- Parameters:
headers-PathHttpHeaders- Returns:
- The updated options.
-
getMetadata
Gets the metadata to associate with the file.- Returns:
- The metadata to associate with the file.
-
setMetadata
Sets the metadata to associate with the file.- Parameters:
metadata- The metadata to associate with the file.- Returns:
- The updated options
-
getTags
Gets the tags to associate with the file.- Returns:
- The tags to associate with the file.
-
setTags
Sets the tags to associate with the file.- Parameters:
tags- The tags to associate with the file.- Returns:
- The updated options.
-
getAccessTier
Gets theAccessTier.- Returns:
AccessTier
-
setAccessTier
Sets theAccessTier.- Parameters:
tier-AccessTier- Returns:
- The updated options.
-
getRequestConditions
Gets theDataLakeRequestConditions.- Returns:
DataLakeRequestConditions
-
setRequestConditions
public DataLakeFileOutputStreamOptions setRequestConditions(DataLakeRequestConditions requestConditions) Sets theDataLakeRequestConditions.- Parameters:
requestConditions-DataLakeRequestConditions- Returns:
- The updated options.
-