public static interface ImpersonationRule.Builder extends SdkPojo, CopyableBuilder<ImpersonationRule.Builder,ImpersonationRule>
| Modifier and Type | Method and Description |
|---|---|
ImpersonationRule.Builder |
description(String description)
The rule description.
|
ImpersonationRule.Builder |
effect(AccessEffect effect)
The effect of the rule when it matches the input.
|
ImpersonationRule.Builder |
effect(String effect)
The effect of the rule when it matches the input.
|
ImpersonationRule.Builder |
impersonationRuleId(String impersonationRuleId)
The identifier of the rule.
|
ImpersonationRule.Builder |
name(String name)
The rule name.
|
ImpersonationRule.Builder |
notTargetUsers(Collection<String> notTargetUsers)
A list of user IDs that don't match the rule.
|
ImpersonationRule.Builder |
notTargetUsers(String... notTargetUsers)
A list of user IDs that don't match the rule.
|
ImpersonationRule.Builder |
targetUsers(Collection<String> targetUsers)
A list of user IDs that match the rule.
|
ImpersonationRule.Builder |
targetUsers(String... targetUsers)
A list of user IDs that match the rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImpersonationRule.Builder impersonationRuleId(String impersonationRuleId)
The identifier of the rule.
impersonationRuleId - The identifier of the rule.ImpersonationRule.Builder name(String name)
The rule name.
name - The rule name.ImpersonationRule.Builder description(String description)
The rule description.
description - The rule description.ImpersonationRule.Builder effect(String effect)
The effect of the rule when it matches the input. Allowed effect values are ALLOW or
DENY.
effect - The effect of the rule when it matches the input. Allowed effect values are ALLOW or
DENY.AccessEffect,
AccessEffectImpersonationRule.Builder effect(AccessEffect effect)
The effect of the rule when it matches the input. Allowed effect values are ALLOW or
DENY.
effect - The effect of the rule when it matches the input. Allowed effect values are ALLOW or
DENY.AccessEffect,
AccessEffectImpersonationRule.Builder targetUsers(Collection<String> targetUsers)
A list of user IDs that match the rule.
targetUsers - A list of user IDs that match the rule.ImpersonationRule.Builder targetUsers(String... targetUsers)
A list of user IDs that match the rule.
targetUsers - A list of user IDs that match the rule.ImpersonationRule.Builder notTargetUsers(Collection<String> notTargetUsers)
A list of user IDs that don't match the rule.
notTargetUsers - A list of user IDs that don't match the rule.ImpersonationRule.Builder notTargetUsers(String... notTargetUsers)
A list of user IDs that don't match the rule.
notTargetUsers - A list of user IDs that don't match the rule.Copyright © 2023. All rights reserved.