public static class PrivilegeDTO.Builder
extends java.lang.Object
PrivilegeDTO.| Constructor and Description | 
|---|
| Builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| PrivilegeDTO | build()Builds an instance of PrivilegeDTO using the builder's properties. | 
| PrivilegeDTO.Builder | withCondition(Privilege.Condition condition)Sets the condition of the privilege. | 
| PrivilegeDTO.Builder | withName(Privilege.Name name)Sets the name of the privilege. | 
public PrivilegeDTO.Builder withName(Privilege.Name name)
name - The name of the privilege.public PrivilegeDTO.Builder withCondition(Privilege.Condition condition)
condition - The condition of the privilege.public PrivilegeDTO build()
java.lang.IllegalArgumentException - If the name or condition are not set.