public class PathRemoveAccessControlEntry extends Object
| Constructor and Description |
|---|
PathRemoveAccessControlEntry()
Initializes an empty instance of
PathRemoveAccessControlEntry. |
| Modifier and Type | Method and Description |
|---|---|
AccessControlType |
getAccessControlType()
Specifies which role this entry targets.
|
String |
getEntityId()
Specifies the entity for which this entry applies.
|
boolean |
isDefaultScope()
Indicates whether this is the default entry for the ACL.
|
static PathRemoveAccessControlEntry |
parse(String str)
Parses the provided string into a
PathAccessControlEntry. |
static List<PathRemoveAccessControlEntry> |
parseList(String str)
Deserializes an ACL to the format "user::rwx,user:john.doe@contoso:rwx,group::r--,other::---,mask=rwx"
|
static String |
serializeList(List<PathRemoveAccessControlEntry> acl)
Converts the Access Control List to a
String. |
PathRemoveAccessControlEntry |
setAccessControlType(AccessControlType accessControlType)
Specifies which role this entry targets.
|
PathRemoveAccessControlEntry |
setDefaultScope(boolean defaultScope)
Sets whether this is the default entry for the ACL.
|
PathRemoveAccessControlEntry |
setEntityId(String entityId)
Specifies the entity for which this entry applies.
|
String |
toString() |
public PathRemoveAccessControlEntry()
PathRemoveAccessControlEntry.public boolean isDefaultScope()
public PathRemoveAccessControlEntry setDefaultScope(boolean defaultScope)
defaultScope - Whether this is the default entry for the ACL.public AccessControlType getAccessControlType()
public PathRemoveAccessControlEntry setAccessControlType(AccessControlType accessControlType)
accessControlType - Which role this entry targets.public String getEntityId()
public PathRemoveAccessControlEntry setEntityId(String entityId)
entityId - The entity for which this entry applies.public static PathRemoveAccessControlEntry parse(String str)
PathAccessControlEntry.
Must be of the format "[scope:][type]:[id]".str - The string representation of the ACL.IllegalArgumentException - if the String provided does not match the format.public static String serializeList(List<PathRemoveAccessControlEntry> acl)
String. The format is specified in the description of this type.acl - The Access Control List to serialize.String representing the serialized Access Control Listpublic static List<PathRemoveAccessControlEntry> parseList(String str)
str - The String representation of the ACL.java.util.ListVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.