|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.fs.permission.AclStatus.Builder
public static class AclStatus.Builder
Builder for creating new Acl instances.
Constructor Summary | |
---|---|
AclStatus.Builder()
|
Method Summary | |
---|---|
AclStatus.Builder |
addEntries(Iterable<AclEntry> entries)
Adds a list of ACL entries. |
AclStatus.Builder |
addEntry(AclEntry e)
Adds an ACL entry. |
AclStatus |
build()
Builds a new AclStatus populated with the set properties. |
AclStatus.Builder |
group(String group)
Sets the file group. |
AclStatus.Builder |
owner(String owner)
Sets the file owner. |
AclStatus.Builder |
stickyBit(boolean stickyBit)
Sets sticky bit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AclStatus.Builder()
Method Detail |
---|
public AclStatus.Builder owner(String owner)
owner
- String file owner
public AclStatus.Builder group(String group)
group
- String file group
public AclStatus.Builder addEntry(AclEntry e)
e
- AclEntry entry to add
public AclStatus.Builder addEntries(Iterable<AclEntry> entries)
entries
- AclEntry entries to add
public AclStatus.Builder stickyBit(boolean stickyBit)
stickyBit
- boolean sticky bit
public AclStatus build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |