Class Acl.Builder (2.36.1)

public static class Acl.Builder

Builder for Acl objects.

Inheritance

java.lang.Object > Acl.Builder

Methods

build()

public Acl build()

Creates an Acl object from this builder.

Returns
TypeDescription
Acl

setEntity(Acl.Entity entity)

public Acl.Builder setEntity(Acl.Entity entity)

Sets the entity for the ACL object.

Parameter
NameDescription
entityAcl.Entity
Returns
TypeDescription
Acl.Builder

setRole(Acl.Role role)

public Acl.Builder setRole(Acl.Role role)

Sets the role to associate to the entity object.

Parameter
NameDescription
roleAcl.Role
Returns
TypeDescription
Acl.Builder