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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetImpersonationRoleEffectResponse.Buildereffect(String effect)Effect of the impersonation role on the target user based on its rules.GetImpersonationRoleEffectResponse.Buildereffect(AccessEffect effect)Effect of the impersonation role on the target user based on its rules.GetImpersonationRoleEffectResponse.BuildermatchedRules(Collection<ImpersonationMatchedRule> matchedRules)A list of the rules that match the input and produce the configured effect.GetImpersonationRoleEffectResponse.BuildermatchedRules(Consumer<ImpersonationMatchedRule.Builder>... matchedRules)A list of the rules that match the input and produce the configured effect.GetImpersonationRoleEffectResponse.BuildermatchedRules(ImpersonationMatchedRule... matchedRules)A list of the rules that match the input and produce the configured effect.GetImpersonationRoleEffectResponse.Buildertype(String type)The impersonation role type.GetImpersonationRoleEffectResponse.Buildertype(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, 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 Detail
-
type
GetImpersonationRoleEffectResponse.Builder type(String 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:
ImpersonationRoleType,ImpersonationRoleType
-
type
GetImpersonationRoleEffectResponse.Builder type(ImpersonationRoleType 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:
ImpersonationRoleType,ImpersonationRoleType
-
effect
GetImpersonationRoleEffectResponse.Builder effect(String 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:
AccessEffect,AccessEffect
-
effect
GetImpersonationRoleEffectResponse.Builder effect(AccessEffect 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:
AccessEffect,AccessEffect
-
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
GetImpersonationRoleEffectResponse.Builder matchedRules(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
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 to#matchedRules(List.) - 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:
#matchedRules(java.util.Collection)
-
-