AccessControlChangeFailure Class

  • java.lang.Object
    • com.azure.storage.file.datalake.models.AccessControlChangeFailure

public class AccessControlChangeFailure

Represents an entry that failed to update Access Control List.

Constructor Summary

Constructor Description
AccessControlChangeFailure()

Method Summary

Modifier and Type Method and Description
String getErrorMessage()

Returns error message that is the reason why entry failed to update.

String getName()

Returns the name of an entry.

boolean isDirectory()

Returns whether entry is a directory.

AccessControlChangeFailure setDirectory(boolean directory)

Sets whether entry is a directory.

AccessControlChangeFailure setErrorMessage(String errorMessage)

Sets the error message that is the reason why entry failed to update.

AccessControlChangeFailure setName(String name)

Sets the name of an entry.

Methods inherited from java.lang.Object

Constructor Details

AccessControlChangeFailure

public AccessControlChangeFailure()

Method Details

getErrorMessage

public String getErrorMessage()

Returns error message that is the reason why entry failed to update.

Returns:

The error message that is the reason why entry failed to update.

getName

public String getName()

Returns the name of an entry.

Returns:

The name of an entry.

isDirectory

public boolean isDirectory()

Returns whether entry is a directory.

Returns:

Whether the entry is a directory.

setDirectory

public AccessControlChangeFailure setDirectory(boolean directory)

Sets whether entry is a directory.

Parameters:

directory - Whether entry is a directory.

Returns:

The updated object.

setErrorMessage

public AccessControlChangeFailure setErrorMessage(String errorMessage)

Sets the error message that is the reason why entry failed to update.

Parameters:

errorMessage - The error message that is the reason why entry failed to update.

Returns:

The updated object.

setName

public AccessControlChangeFailure setName(String name)

Sets the name of an entry.

Parameters:

name - The name of an entry.

Returns:

The updated object.

Applies to