public static class AlphaGroupUpdateArgs.Builder extends GroupUpdateArgs.Builder
AlphaGroupUpdateArgs.| Modifier and Type | Field and Description |
|---|---|
protected GroupManagementType |
newGroupManagementType |
group, newGroupExternalId, newGroupName, returnMembers| Modifier | Constructor and Description |
|---|---|
protected |
Builder(GroupSelector group) |
| Modifier and Type | Method and Description |
|---|---|
AlphaGroupUpdateArgs |
build()
Builds an instance of
AlphaGroupUpdateArgs configured with
this builder's values |
AlphaGroupUpdateArgs.Builder |
withNewGroupExternalId(String newGroupExternalId)
Set value for optional field.
|
AlphaGroupUpdateArgs.Builder |
withNewGroupManagementType(GroupManagementType newGroupManagementType)
Set value for optional field.
|
AlphaGroupUpdateArgs.Builder |
withNewGroupName(String newGroupName)
Set value for optional field.
|
AlphaGroupUpdateArgs.Builder |
withReturnMembers(Boolean returnMembers)
Set value for optional field.
|
protected GroupManagementType newGroupManagementType
protected Builder(GroupSelector group)
public AlphaGroupUpdateArgs.Builder withNewGroupManagementType(GroupManagementType newGroupManagementType)
newGroupManagementType - Set new group management type, if
provided.public AlphaGroupUpdateArgs.Builder withReturnMembers(Boolean returnMembers)
If left unset or set to null, defaults to true.
withReturnMembers in class GroupUpdateArgs.BuilderreturnMembers - Whether to return the list of members in the
group. Note that the default value will cause all the group
members to be returned in the response. This may take a long
time for large groups. Defaults to true when set to
null.public AlphaGroupUpdateArgs.Builder withNewGroupName(String newGroupName)
withNewGroupName in class GroupUpdateArgs.BuildernewGroupName - Optional argument. Set group name to this if
provided.public AlphaGroupUpdateArgs.Builder withNewGroupExternalId(String newGroupExternalId)
withNewGroupExternalId in class GroupUpdateArgs.BuildernewGroupExternalId - Optional argument. New group external ID.
If the argument is None, the group's external_id won't be
updated. If the argument is empty string, the group's external id
will be cleared.public AlphaGroupUpdateArgs build()
AlphaGroupUpdateArgs configured with
this builder's valuesbuild in class GroupUpdateArgs.BuilderAlphaGroupUpdateArgs