Interface GetImpersonationRoleEffectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetImpersonationRoleEffectResponse.Builder,
,GetImpersonationRoleEffectResponse> SdkBuilder<GetImpersonationRoleEffectResponse.Builder,
,GetImpersonationRoleEffectResponse> SdkPojo
,SdkResponse.Builder
,WorkMailResponse.Builder
- Enclosing class:
GetImpersonationRoleEffectResponse
@Mutable
@NotThreadSafe
public static interface GetImpersonationRoleEffectResponse.Builder
extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<GetImpersonationRoleEffectResponse.Builder,GetImpersonationRoleEffectResponse>
-
Method Summary
Modifier and TypeMethodDescriptionEffect of the impersonation role on the target user based on its rules.
effect
(AccessEffect effect) Effect of the impersonation role on the target user based on its rules.
matchedRules
(Collection<ImpersonationMatchedRule> matchedRules) A list of the rules that match the input and produce the configured effect.matchedRules
(Consumer<ImpersonationMatchedRule.Builder>... matchedRules) A list of the rules that match the input and produce the configured effect.matchedRules
(ImpersonationMatchedRule... matchedRules) A list of the rules that match the input and produce the configured effect.The impersonation role type.type
(ImpersonationRoleType type) The impersonation role type.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
type
The impersonation role type.
- Parameters:
type
- The impersonation role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The impersonation role type.
- Parameters:
type
- The impersonation role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
orDENY
.- Parameters:
effect
-Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
orDENY
.- Parameters:
effect
-Effect of the impersonation role on the target user based on its rules. Available effects are
ALLOW
orDENY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchedRules
GetImpersonationRoleEffectResponse.Builder matchedRules(Collection<ImpersonationMatchedRule> matchedRules) A list of the rules that match the input and produce the configured effect.
- Parameters:
matchedRules
- A list of the rules that match the input and produce the configured effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedRules
A list of the rules that match the input and produce the configured effect.
- Parameters:
matchedRules
- A list of the rules that match the input and produce the configured effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedRules
GetImpersonationRoleEffectResponse.Builder matchedRules(Consumer<ImpersonationMatchedRule.Builder>... matchedRules) A list of the rules that match the input and produce the configured effect.
This is a convenience method that creates an instance of theImpersonationMatchedRule.Builder
avoiding the need to create one manually viaImpersonationMatchedRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchedRules(List<ImpersonationMatchedRule>)
.- Parameters:
matchedRules
- a consumer that will call methods onImpersonationMatchedRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-