Package com.dropbox.core.v2.team
Class GroupsCreateBuilder
- java.lang.Object
-
- com.dropbox.core.v2.team.GroupsCreateBuilder
-
public class GroupsCreateBuilder extends java.lang.Object
The request builder returned byDbxTeamTeamRequests.groupsCreateBuilder(java.lang.String)
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupFullInfo
start()
Issues the request.GroupsCreateBuilder
withAddCreatorAsOwner(java.lang.Boolean addCreatorAsOwner)
Set value for optional field.GroupsCreateBuilder
withGroupExternalId(java.lang.String groupExternalId)
Set value for optional field.GroupsCreateBuilder
withGroupManagementType(GroupManagementType groupManagementType)
Set value for optional field.
-
-
-
Method Detail
-
withAddCreatorAsOwner
public GroupsCreateBuilder withAddCreatorAsOwner(java.lang.Boolean addCreatorAsOwner)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
addCreatorAsOwner
- Automatically add the creator of the group. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
withGroupExternalId
public GroupsCreateBuilder withGroupExternalId(java.lang.String groupExternalId)
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
public GroupsCreateBuilder withGroupManagementType(GroupManagementType groupManagementType)
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
public GroupFullInfo start() throws GroupCreateErrorException, DbxException
Issues the request.
-
-