public class GroupsCreateBuilder extends Object
DbxTeamTeamRequests.groupsCreateBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
GroupFullInfo |
start()
Issues the request.
|
GroupsCreateBuilder |
withGroupExternalId(String groupExternalId)
Set value for optional field.
|
GroupsCreateBuilder |
withGroupManagementType(GroupManagementType groupManagementType)
Set value for optional field.
|
public GroupsCreateBuilder withGroupExternalId(String groupExternalId)
groupExternalId
- The creator of a team can associate an arbitrary
external ID to the group.public GroupsCreateBuilder withGroupManagementType(GroupManagementType groupManagementType)
groupManagementType
- Whether the team can be managed by selected
users, or only by team admins.public GroupFullInfo start() throws GroupCreateErrorException, DbxException