public static class AclEntry.Builder
extends java.lang.Object
| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
AclEntry |
build() |
Builds a new AclEntry populated with the set properties.
|
AclEntry.Builder |
setName(java.lang.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 setType(AclEntryType type)
type - AclEntryType ACL entry typepublic AclEntry.Builder setName(java.lang.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 entrypublic AclEntry build()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.