public static interface GetImpersonationRoleEffectResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<GetImpersonationRoleEffectResponse.Builder,GetImpersonationRoleEffectResponse>
| Modifier and Type | Method and Description |
|---|---|
GetImpersonationRoleEffectResponse.Builder |
effect(AccessEffect effect)
Effect of the impersonation role on the target user based on its rules. |
GetImpersonationRoleEffectResponse.Builder |
effect(String effect)
Effect of the impersonation role on the target user based on its rules. |
GetImpersonationRoleEffectResponse.Builder |
matchedRules(Collection<ImpersonationMatchedRule> matchedRules)
A list of the rules that match the input and produce the configured effect.
|
GetImpersonationRoleEffectResponse.Builder |
matchedRules(Consumer<ImpersonationMatchedRule.Builder>... matchedRules)
A list of the rules that match the input and produce the configured effect.
|
GetImpersonationRoleEffectResponse.Builder |
matchedRules(ImpersonationMatchedRule... matchedRules)
A list of the rules that match the input and produce the configured effect.
|
GetImpersonationRoleEffectResponse.Builder |
type(ImpersonationRoleType type)
The impersonation role type.
|
GetImpersonationRoleEffectResponse.Builder |
type(String type)
The impersonation role type.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetImpersonationRoleEffectResponse.Builder type(String type)
The impersonation role type.
type - The impersonation role type.ImpersonationRoleType,
ImpersonationRoleTypeGetImpersonationRoleEffectResponse.Builder type(ImpersonationRoleType type)
The impersonation role type.
type - The impersonation role type.ImpersonationRoleType,
ImpersonationRoleTypeGetImpersonationRoleEffectResponse.Builder effect(String effect)
Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW
or DENY.
effect - Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW
or DENY.AccessEffect,
AccessEffectGetImpersonationRoleEffectResponse.Builder effect(AccessEffect effect)
Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW
or DENY.
effect - Effect of the impersonation role on the target user based on its rules. Available effects are ALLOW
or DENY.AccessEffect,
AccessEffectGetImpersonationRoleEffectResponse.Builder matchedRules(Collection<ImpersonationMatchedRule> matchedRules)
A list of the rules that match the input and produce the configured effect.
matchedRules - A list of the rules that match the input and produce the configured effect.GetImpersonationRoleEffectResponse.Builder matchedRules(ImpersonationMatchedRule... matchedRules)
A list of the rules that match the input and produce the configured effect.
matchedRules - A list of the rules that match the input and produce the configured effect.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 via
ImpersonationMatchedRule.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #matchedRules(List.
matchedRules - a consumer that will call methods on
ImpersonationMatchedRule.Builder#matchedRules(java.util.Collection) Copyright © 2022. All rights reserved.