Lines Matching defs:Builder
55 * <p> ACL entries are created using an associated {@link Builder} object by
56 * invoking its {@link Builder#build build} method.
89 * <p> A {@code Builder} object is obtained by invoking one of the {@link
93 * <p> Builder objects are mutable and are not safe for use by multiple
98 public static final class Builder {
104 private Builder(AclEntryType type,
139 public Builder setType(AclEntryType type) {
151 public Builder setPrincipal(UserPrincipal who) {
177 public Builder setPermissions(Set<AclEntryPermission> perms) {
192 public Builder setPermissions(AclEntryPermission... perms) {
214 public Builder setFlags(Set<AclEntryFlag> flags) {
229 public Builder setFlags(AclEntryFlag... flags) {
249 public static Builder newBuilder() {
252 return new Builder(null, null, perms, flags);
263 public static Builder newBuilder(AclEntry entry) {
264 return new Builder(entry.type, entry.who, entry.perms, entry.flags);