public static class AlphaGroupFullInfo.Builder extends AlphaGroupSummary.Builder
AlphaGroupFullInfo.| Modifier and Type | Field and Description |
|---|---|
protected long |
created |
protected List<GroupMemberInfo> |
members |
groupManagementTypegroupExternalId, groupId, groupName, memberCount| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String groupName,
String groupId,
GroupManagementType groupManagementType,
long created) |
| Modifier and Type | Method and Description |
|---|---|
AlphaGroupFullInfo |
build()
Builds an instance of
AlphaGroupFullInfo configured with this
builder's values |
AlphaGroupFullInfo.Builder |
withGroupExternalId(String groupExternalId)
Set value for optional field.
|
AlphaGroupFullInfo.Builder |
withMemberCount(Long memberCount)
Set value for optional field.
|
AlphaGroupFullInfo.Builder |
withMembers(List<GroupMemberInfo> members)
Set value for optional field.
|
protected final long created
protected List<GroupMemberInfo> members
protected Builder(String groupName, String groupId, GroupManagementType groupManagementType, long created)
public AlphaGroupFullInfo.Builder withMembers(List<GroupMemberInfo> members)
members - List of group members. Must not contain a null item.IllegalArgumentException - If any argument does not meet its
preconditions.public AlphaGroupFullInfo.Builder withGroupExternalId(String groupExternalId)
withGroupExternalId in class AlphaGroupSummary.BuildergroupExternalId - External ID of group. This is an arbitrary ID
that an admin can attach to a group.public AlphaGroupFullInfo.Builder withMemberCount(Long memberCount)
withMemberCount in class AlphaGroupSummary.BuildermemberCount - The number of members in the group.public AlphaGroupFullInfo build()
AlphaGroupFullInfo configured with this
builder's valuesbuild in class AlphaGroupSummary.BuilderAlphaGroupFullInfo