|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.fs.permission.AclEntry.Builder
public static class AclEntry.Builder
Builder for creating new AclEntry instances.
Constructor Summary | |
---|---|
AclEntry.Builder()
|
Method Summary | |
---|---|
AclEntry |
build()
Builds a new AclEntry populated with the set properties. |
AclEntry.Builder |
setName(String name)
Sets the optional ACL entry name. |
AclEntry.Builder |
setPermission(FsAction permission)
Sets the set of permissions in the ACL entry. |
AclEntry.Builder |
setScope(AclEntryScope scope)
Sets the scope of the ACL entry. |
AclEntry.Builder |
setType(AclEntryType type)
Sets the ACL entry type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AclEntry.Builder()
Method Detail |
---|
public AclEntry.Builder setType(AclEntryType type)
type
- AclEntryType ACL entry type
public AclEntry.Builder setName(String name)
name
- String optional ACL entry name
public AclEntry.Builder setPermission(FsAction permission)
permission
- FsAction set of permissions in the ACL entry
public AclEntry.Builder setScope(AclEntryScope scope)
AclEntryScope.ACCESS
.
scope
- AclEntryScope scope of the ACL entry
public AclEntry build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |