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