Class Acl.Builder (2.34.0)

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
Type Description
Acl

setEntity(Acl.Entity entity)

public Acl.Builder setEntity(Acl.Entity entity)

Sets the entity for the ACL object.

Parameter
Name Description
entity Acl.Entity
Returns
Type Description
Acl.Builder

setRole(Acl.Role role)

public Acl.Builder setRole(Acl.Role role)

Sets the role to associate to the entity object.

Parameter
Name Description
role Acl.Role
Returns
Type Description
Acl.Builder