Class GroupSummary.Builder

java.lang.Object
com.dropbox.core.v2.teamcommon.GroupSummary.Builder
Direct Known Subclasses:
GroupFullInfo.Builder, GroupInfo.Builder
Enclosing class:
GroupSummary

public static class GroupSummary.Builder extends Object
Builder for GroupSummary.
  • Field Details

    • groupName

      protected final String groupName
    • groupId

      protected final String groupId
    • groupManagementType

      protected final GroupManagementType groupManagementType
    • groupExternalId

      protected String groupExternalId
    • memberCount

      protected Long memberCount
  • Constructor Details

  • Method Details

    • withGroupExternalId

      public GroupSummary.Builder withGroupExternalId(String groupExternalId)
      Set value for optional field.
      Parameters:
      groupExternalId - External ID of group. This is an arbitrary ID that an admin can attach to a group.
      Returns:
      this builder
    • withMemberCount

      public GroupSummary.Builder withMemberCount(Long memberCount)
      Set value for optional field.
      Parameters:
      memberCount - The number of members in the group.
      Returns:
      this builder
    • build

      public GroupSummary build()
      Builds an instance of GroupSummary configured with this builder's values
      Returns:
      new instance of GroupSummary