Class DataLakePathCreateOptions
- java.lang.Object
-
- com.azure.storage.file.datalake.options.DataLakePathCreateOptions
-
public class DataLakePathCreateOptions extends Object
Extended options that may be passed when creating a datalake resource.
-
-
Constructor Summary
Constructors Constructor Description DataLakePathCreateOptions()Constructs aDataLakePathCreateOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getMetadata()PathHttpHeadersgetPathHttpHeaders()Gets the http headers.StringgetPermissions()Gets the permissions.DataLakeRequestConditionsgetRequestConditions()Gets the request conditions.StringgetUmask()Gets the umask.DataLakePathCreateOptionssetMetadata(Map<String,String> metadata)DataLakePathCreateOptionssetPathHttpHeaders(PathHttpHeaders headers)Sets the umask.DataLakePathCreateOptionssetPermissions(String permissions)Sets the permissions.DataLakePathCreateOptionssetRequestConditions(DataLakeRequestConditions requestConditions)Sets the request conditions.DataLakePathCreateOptionssetUmask(String umask)Sets the umask.
-
-
-
Constructor Detail
-
DataLakePathCreateOptions
public DataLakePathCreateOptions()
Constructs aDataLakePathCreateOptions.
-
-
Method Detail
-
getPermissions
public String getPermissions()
Gets the permissions.- Returns:
- the permissions
-
setPermissions
public DataLakePathCreateOptions setPermissions(String permissions)
Sets the permissions.- Parameters:
permissions- The permissions.- Returns:
- the updated options.
-
getUmask
public String getUmask()
Gets the umask.- Returns:
- the umask.
-
setUmask
public DataLakePathCreateOptions setUmask(String umask)
Sets the umask.- Parameters:
umask- The umask.- Returns:
- the updated options.
-
getPathHttpHeaders
public PathHttpHeaders getPathHttpHeaders()
Gets the http headers.- Returns:
- the http headers.
-
setPathHttpHeaders
public DataLakePathCreateOptions setPathHttpHeaders(PathHttpHeaders headers)
Sets the umask.- Parameters:
headers- The http headers.- Returns:
- the updated options.
-
getMetadata
public Map<String,String> getMetadata()
- Returns:
- Metadata to associate with the datalake path.
-
setMetadata
public DataLakePathCreateOptions setMetadata(Map<String,String> metadata)
- Parameters:
metadata- Metadata to associate with the datalake path. If there is leading or trailing whitespace in any metadata key or value, it must be removed or encoded.- Returns:
- The updated options.
-
getRequestConditions
public DataLakeRequestConditions getRequestConditions()
Gets the request conditions.- Returns:
- the request conditions.
-
setRequestConditions
public DataLakePathCreateOptions setRequestConditions(DataLakeRequestConditions requestConditions)
Sets the request conditions.- Parameters:
requestConditions- The request conditions.- Returns:
- the updated FileQueryOptions object.
-
-