Class GroupDTO
java.lang.Object
org.apache.gravitino.dto.authorization.GroupDTO
Represents a Group Data Transfer Object (DTO).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
GroupDTO.Builder<S extends GroupDTO.Builder>
Builder class for constructing a GroupDTO instance. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GroupDTO
protected GroupDTO()Default constructor for Jackson deserialization. -
GroupDTO
Creates a new instance of GroupDTO.- Parameters:
name
- The name of the Group DTO.roles
- The roles of the Group DTO.audit
- The audit information of the Group DTO.
-
-
Method Details
-
name
Description copied from interface:Group
The name of the group. -
roles
The roles of the group. A group can have multiple roles. Every role binds several privileges. -
auditInfo
-
builder
Creates a new Builder for constructing a Group DTO.- Returns:
- A new Builder instance.
-