Class GroupLogInfo.Builder

java.lang.Object
com.dropbox.core.v2.teamlog.GroupLogInfo.Builder
Enclosing class:
GroupLogInfo

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

    • displayName

      protected final String displayName
    • groupId

      protected String groupId
    • externalId

      protected String externalId
  • Constructor Details

    • Builder

      protected Builder(String displayName)
  • Method Details

    • withGroupId

      public GroupLogInfo.Builder withGroupId(String groupId)
      Set value for optional field.
      Parameters:
      groupId - The unique id of this group.
      Returns:
      this builder
    • withExternalId

      public GroupLogInfo.Builder withExternalId(String externalId)
      Set value for optional field.
      Parameters:
      externalId - External group ID.
      Returns:
      this builder
    • build

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