Interface GetImpersonationRoleEffectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImpersonationRoleEffectResponse.Builder,,GetImpersonationRoleEffectResponse> SdkBuilder<GetImpersonationRoleEffectResponse.Builder,,GetImpersonationRoleEffectResponse> SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
GetImpersonationRoleEffectResponse
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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 areALLOWorDENY.- Parameters:
effect-Effect of the impersonation role on the target user based on its rules. Available effects areALLOWorDENY.- 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 areALLOWorDENY.- Parameters:
effect-Effect of the impersonation role on the target user based on its rules. Available effects areALLOWorDENY.- 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.Builderavoiding the need to create one manually viaImpersonationMatchedRule.builder().When the
Consumercompletes,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:
-