Interface ImpersonationRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImpersonationRule.Builder,
,ImpersonationRule> SdkBuilder<ImpersonationRule.Builder,
,ImpersonationRule> SdkPojo
- Enclosing class:
ImpersonationRule
public static interface ImpersonationRule.Builder
extends SdkPojo, CopyableBuilder<ImpersonationRule.Builder,ImpersonationRule>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The rule description.The effect of the rule when it matches the input.effect
(AccessEffect effect) The effect of the rule when it matches the input.impersonationRuleId
(String impersonationRuleId) The identifier of the rule.The rule name.notTargetUsers
(String... notTargetUsers) A list of user IDs that don't match the rule.notTargetUsers
(Collection<String> notTargetUsers) A list of user IDs that don't match the rule.targetUsers
(String... targetUsers) A list of user IDs that match the rule.targetUsers
(Collection<String> targetUsers) A list of user IDs that match the rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
impersonationRuleId
The identifier of the rule.
- Parameters:
impersonationRuleId
- The identifier of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The rule name.
- Parameters:
name
- The rule name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The rule description.
- Parameters:
description
- The rule description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The effect of the rule when it matches the input. Allowed effect values are
ALLOW
orDENY
.- Parameters:
effect
- The effect of the rule when it matches the input. Allowed effect values areALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The effect of the rule when it matches the input. Allowed effect values are
ALLOW
orDENY
.- Parameters:
effect
- The effect of the rule when it matches the input. Allowed effect values areALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetUsers
A list of user IDs that match the rule.
- Parameters:
targetUsers
- A list of user IDs that match the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetUsers
A list of user IDs that match the rule.
- Parameters:
targetUsers
- A list of user IDs that match the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notTargetUsers
A list of user IDs that don't match the rule.
- Parameters:
notTargetUsers
- A list of user IDs that don't match the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notTargetUsers
A list of user IDs that don't match the rule.
- Parameters:
notTargetUsers
- A list of user IDs that don't match the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-