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