Package com.dropbox.core.v2.team
Class GroupsCreateBuilder
java.lang.Object
com.dropbox.core.v2.team.GroupsCreateBuilder
The request builder returned by
DbxTeamTeamRequests.groupsCreateBuilder(java.lang.String).
Use this class to set optional request parameters and complete the request.
-
Method Summary
Modifier and TypeMethodDescriptionstart()Issues the request.withAddCreatorAsOwner(Boolean addCreatorAsOwner) Set value for optional field.withGroupExternalId(String groupExternalId) Set value for optional field.withGroupManagementType(GroupManagementType groupManagementType) Set value for optional field.
-
Method Details
-
withAddCreatorAsOwner
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
addCreatorAsOwner- Automatically add the creator of the group. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withGroupExternalId
Set value for optional field.- Parameters:
groupExternalId- The creator of a team can associate an arbitrary external ID to the group.- Returns:
- this builder
-
withGroupManagementType
Set value for optional field.- Parameters:
groupManagementType- Whether the team can be managed by selected users, or only by team admins.- Returns:
- this builder
-
start
Issues the request.
-