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 Details

  • Method Details

    • 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.