Package com.dropbox.core.v2.sharing
Class GroupInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamcommon.GroupSummary.Builder
- 
- com.dropbox.core.v2.sharing.GroupInfo.Builder
 
 
- 
- Enclosing class:
- GroupInfo
 
 public static class GroupInfo.Builder extends GroupSummary.Builder Builder forGroupInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected GroupTypegroupTypeprotected booleanisMemberprotected booleanisOwnerprotected booleansameTeam- 
Fields inherited from class com.dropbox.core.v2.teamcommon.GroupSummary.BuildergroupExternalId, groupId, groupManagementType, groupName, memberCount
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, GroupType groupType, boolean isMember, boolean isOwner, boolean sameTeam)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupInfobuild()Builds an instance ofGroupInfoconfigured with this builder's valuesGroupInfo.BuilderwithGroupExternalId(java.lang.String groupExternalId)Set value for optional field.GroupInfo.BuilderwithMemberCount(java.lang.Long memberCount)Set value for optional field.
 
- 
- 
- 
Field Detail- 
groupTypeprotected final GroupType groupType 
 - 
isMemberprotected final boolean isMember 
 - 
isOwnerprotected final boolean isOwner 
 - 
sameTeamprotected final boolean sameTeam 
 
- 
 - 
Constructor Detail- 
Builderprotected Builder(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, GroupType groupType, boolean isMember, boolean isOwner, boolean sameTeam)
 
- 
 - 
Method Detail- 
withGroupExternalIdpublic GroupInfo.Builder withGroupExternalId(java.lang.String groupExternalId) Set value for optional field.- Overrides:
- withGroupExternalIdin class- GroupSummary.Builder
- Parameters:
- groupExternalId- External ID of group. This is an arbitrary ID that an admin can attach to a group.
- Returns:
- this builder
 
 - 
withMemberCountpublic GroupInfo.Builder withMemberCount(java.lang.Long memberCount) Set value for optional field.- Overrides:
- withMemberCountin class- GroupSummary.Builder
- Parameters:
- memberCount- The number of members in the group.
- Returns:
- this builder
 
 - 
buildpublic GroupInfo build() Builds an instance ofGroupInfoconfigured with this builder's values- Overrides:
- buildin class- GroupSummary.Builder
- Returns:
- new instance of GroupInfo
 
 
- 
 
-