public class AlphaGroupUpdateArgs extends GroupUpdateArgs
Modifier and Type | Class and Description |
---|---|
static class |
AlphaGroupUpdateArgs.Builder
Builder for
AlphaGroupUpdateArgs . |
Modifier and Type | Field and Description |
---|---|
protected GroupManagementType |
newGroupManagementType |
group, newGroupExternalId, newGroupName
returnMembers
Constructor and Description |
---|
AlphaGroupUpdateArgs(GroupSelector group)
The default values for unset fields will be used.
|
AlphaGroupUpdateArgs(GroupSelector group,
boolean returnMembers,
String newGroupName,
String newGroupExternalId,
GroupManagementType newGroupManagementType)
Use
newBuilder to create instances of this class without
specifying values for all optional fields. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
GroupManagementType |
getNewGroupManagementType()
Set new group management type, if provided.
|
int |
hashCode() |
static AlphaGroupUpdateArgs.Builder |
newBuilder(GroupSelector group)
Returns a new builder for creating an instance of this class.
|
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
getGroup, getNewGroupExternalId, getNewGroupName
getReturnMembers
protected final GroupManagementType newGroupManagementType
public AlphaGroupUpdateArgs(GroupSelector group, boolean returnMembers, String newGroupName, String newGroupExternalId, GroupManagementType newGroupManagementType)
newBuilder
to create instances of this class without
specifying values for all optional fields.group
- Specify a group. Must not be null
.returnMembers
- 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.newGroupName
- Optional argument. Set group name to this if
provided.newGroupExternalId
- 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.newGroupManagementType
- Set new group management type, if
provided.IllegalArgumentException
- If any argument does not meet its
preconditions.public AlphaGroupUpdateArgs(GroupSelector group)
group
- Specify a group. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public GroupManagementType getNewGroupManagementType()
null
if not present.public static AlphaGroupUpdateArgs.Builder newBuilder(GroupSelector group)
group
- Specify a group. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public int hashCode()
hashCode
in class GroupUpdateArgs
public boolean equals(Object obj)
equals
in class GroupUpdateArgs
public String toString()
toString
in class GroupUpdateArgs
public String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class GroupUpdateArgs