public class DefaultGroupRuleBuilder extends Object implements GroupRuleBuilder
Constructor and Description |
---|
DefaultGroupRuleBuilder() |
Modifier and Type | Method and Description |
---|---|
GroupRuleBuilder |
addGroup(String groupId) |
GroupRuleBuilder |
addUser(String userId) |
GroupRule |
buildAndCreate(Client client) |
GroupRuleBuilder |
setAssignUserToGroups(List<String> assignUserToGroups) |
GroupRuleBuilder |
setGroupRuleExpressionType(String groupRuleExpressionType) |
GroupRuleBuilder |
setGroupRuleExpressionValue(String groupRuleExpressionValue) |
GroupRuleBuilder |
setGroups(List<String> groupIds) |
GroupRuleBuilder |
setName(String name) |
GroupRuleBuilder |
setType(String type) |
GroupRuleBuilder |
setUsers(List<String> userIds) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instance, setGroups, setUsers
public GroupRuleBuilder setName(String name)
setName
in interface GroupRuleBuilder
public GroupRuleBuilder setType(String type)
setType
in interface GroupRuleBuilder
public GroupRuleBuilder setAssignUserToGroups(List<String> assignUserToGroups)
setAssignUserToGroups
in interface GroupRuleBuilder
public GroupRuleBuilder setGroups(List<String> groupIds)
setGroups
in interface GroupRuleBuilder
public GroupRuleBuilder addGroup(String groupId)
addGroup
in interface GroupRuleBuilder
public GroupRuleBuilder setUsers(List<String> userIds)
setUsers
in interface GroupRuleBuilder
public GroupRuleBuilder addUser(String userId)
addUser
in interface GroupRuleBuilder
public GroupRuleBuilder setGroupRuleExpressionType(String groupRuleExpressionType)
setGroupRuleExpressionType
in interface GroupRuleBuilder
public GroupRuleBuilder setGroupRuleExpressionValue(String groupRuleExpressionValue)
setGroupRuleExpressionValue
in interface GroupRuleBuilder
public GroupRule buildAndCreate(Client client)
buildAndCreate
in interface GroupRuleBuilder
Copyright © 2017–2023 Okta. All rights reserved.