public static class AclEntry.Builder extends Object
Constructor and Description |
---|
AclEntry.Builder() |
Modifier and Type | Method and Description |
---|---|
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.
|
public AclEntry.Builder()
public AclEntry.Builder setType(AclEntryType type)
type
- AclEntryType ACL entry typepublic AclEntry.Builder setName(String name)
name
- String optional ACL entry namepublic AclEntry.Builder setPermission(FsAction permission)
permission
- FsAction set of permissions in the ACL entrypublic AclEntry.Builder setScope(AclEntryScope scope)
AclEntryScope.ACCESS
.scope
- AclEntryScope scope of the ACL entryCopyright © 2017 Apache Software Foundation. All Rights Reserved.