public static class AlphaGroupCreateArg.Builder extends Object
AlphaGroupCreateArg.| Modifier and Type | Field and Description |
|---|---|
protected String |
groupExternalId |
protected GroupManagementType |
groupManagementType |
protected String |
groupName |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String groupName) |
| Modifier and Type | Method and Description |
|---|---|
AlphaGroupCreateArg |
build()
Builds an instance of
AlphaGroupCreateArg configured with
this builder's values |
AlphaGroupCreateArg.Builder |
withGroupExternalId(String groupExternalId)
Set value for optional field.
|
AlphaGroupCreateArg.Builder |
withGroupManagementType(GroupManagementType groupManagementType)
Set value for optional field.
|
protected final String groupName
protected String groupExternalId
protected GroupManagementType groupManagementType
protected Builder(String groupName)
public AlphaGroupCreateArg.Builder withGroupExternalId(String groupExternalId)
groupExternalId - The creator of a team can associate an
arbitrary external ID to the group.public AlphaGroupCreateArg.Builder withGroupManagementType(GroupManagementType groupManagementType)
If left unset or set to null, defaults to GroupManagementType.COMPANY_MANAGED.
groupManagementType - Whether the team can be managed by
selected users, or only by team admins. Defaults to GroupManagementType.COMPANY_MANAGED when set to null.public AlphaGroupCreateArg build()
AlphaGroupCreateArg configured with
this builder's valuesAlphaGroupCreateArg