Partager via


DataLakePathDeleteOptions Class

  • java.lang.Object
    • com.azure.storage.file.datalake.options.DataLakePathDeleteOptions

public class DataLakePathDeleteOptions

Extended options that may be passed when deleting a datalake resource.

Constructor Summary

Constructor Description
DataLakePathDeleteOptions()

Constructs a DataLakePathDeleteOptions.

Method Summary

Modifier and Type Method and Description
boolean getIsRecursive()
DataLakeRequestConditions getRequestConditions()

Gets the request conditions.

DataLakePathDeleteOptions setIsRecursive(boolean recursive)

Sets the permissions.

DataLakePathDeleteOptions setRequestConditions(DataLakeRequestConditions requestConditions)

Sets the request conditions.

Methods inherited from java.lang.Object

Constructor Details

DataLakePathDeleteOptions

public DataLakePathDeleteOptions()

Constructs a DataLakePathDeleteOptions.

Method Details

getIsRecursive

public boolean getIsRecursive()

Returns:

whether everything under the resource should be deleted recursively

getRequestConditions

public DataLakeRequestConditions getRequestConditions()

Gets the request conditions.

Returns:

the request conditions.

setIsRecursive

public DataLakePathDeleteOptions setIsRecursive(boolean recursive)

Sets the permissions.

Parameters:

recursive - whether resource should be deleted recursively.

Returns:

the updated options.

setRequestConditions

public DataLakePathDeleteOptions setRequestConditions(DataLakeRequestConditions requestConditions)

Sets the request conditions.

Parameters:

requestConditions - The request conditions.

Returns:

the updated FileQueryOptions object.

Applies to