public static class GroupSummary.Builder extends Object
GroupSummary
.Modifier and Type | Field and Description |
---|---|
protected String |
groupExternalId |
protected String |
groupId |
protected GroupManagementType |
groupManagementType |
protected String |
groupName |
protected Long |
memberCount |
Modifier | Constructor and Description |
---|---|
protected |
Builder(String groupName,
String groupId,
GroupManagementType groupManagementType) |
Modifier and Type | Method and Description |
---|---|
GroupSummary |
build()
Builds an instance of
GroupSummary configured with this
builder's values |
GroupSummary.Builder |
withGroupExternalId(String groupExternalId)
Set value for optional field.
|
GroupSummary.Builder |
withMemberCount(Long memberCount)
Set value for optional field.
|
protected final String groupName
protected final String groupId
protected final GroupManagementType groupManagementType
protected String groupExternalId
protected Long memberCount
protected Builder(String groupName, String groupId, GroupManagementType groupManagementType)
public GroupSummary.Builder withGroupExternalId(String groupExternalId)
groupExternalId
- External ID of group. This is an arbitrary ID
that an admin can attach to a group.public GroupSummary.Builder withMemberCount(Long memberCount)
memberCount
- The number of members in the group.public GroupSummary build()
GroupSummary
configured with this
builder's valuesGroupSummary