Interface GetMobileDeviceAccessEffectResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMobileDeviceAccessEffectResponse.Builder,GetMobileDeviceAccessEffectResponse>,SdkBuilder<GetMobileDeviceAccessEffectResponse.Builder,GetMobileDeviceAccessEffectResponse>,SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
- GetMobileDeviceAccessEffectResponse
public static interface GetMobileDeviceAccessEffectResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<GetMobileDeviceAccessEffectResponse.Builder,GetMobileDeviceAccessEffectResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMobileDeviceAccessEffectResponse.Buildereffect(String effect)The effect of the simulated access,ALLOWorDENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.GetMobileDeviceAccessEffectResponse.Buildereffect(MobileDeviceAccessRuleEffect effect)The effect of the simulated access,ALLOWorDENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.GetMobileDeviceAccessEffectResponse.BuildermatchedRules(Collection<MobileDeviceAccessMatchedRule> matchedRules)A list of the rules which matched the simulated user input and produced the effect.GetMobileDeviceAccessEffectResponse.BuildermatchedRules(Consumer<MobileDeviceAccessMatchedRule.Builder>... matchedRules)A list of the rules which matched the simulated user input and produced the effect.GetMobileDeviceAccessEffectResponse.BuildermatchedRules(MobileDeviceAccessMatchedRule... matchedRules)A list of the rules which matched the simulated user input and produced the effect.-
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
-
effect
GetMobileDeviceAccessEffectResponse.Builder effect(String effect)
The effect of the simulated access,
ALLOWorDENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.- Parameters:
effect- The effect of the simulated access,ALLOWorDENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MobileDeviceAccessRuleEffect,MobileDeviceAccessRuleEffect
-
effect
GetMobileDeviceAccessEffectResponse.Builder effect(MobileDeviceAccessRuleEffect effect)
The effect of the simulated access,
ALLOWorDENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.- Parameters:
effect- The effect of the simulated access,ALLOWorDENY, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MobileDeviceAccessRuleEffect,MobileDeviceAccessRuleEffect
-
matchedRules
GetMobileDeviceAccessEffectResponse.Builder matchedRules(Collection<MobileDeviceAccessMatchedRule> matchedRules)
A list of the rules which matched the simulated user input and produced the effect.
- Parameters:
matchedRules- A list of the rules which matched the simulated user input and produced the effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedRules
GetMobileDeviceAccessEffectResponse.Builder matchedRules(MobileDeviceAccessMatchedRule... matchedRules)
A list of the rules which matched the simulated user input and produced the effect.
- Parameters:
matchedRules- A list of the rules which matched the simulated user input and produced the effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedRules
GetMobileDeviceAccessEffectResponse.Builder matchedRules(Consumer<MobileDeviceAccessMatchedRule.Builder>... matchedRules)
A list of the rules which matched the simulated user input and produced the effect.
This is a convenience method that creates an instance of theMobileDeviceAccessMatchedRule.Builderavoiding the need to create one manually viaMobileDeviceAccessMatchedRule.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 onMobileDeviceAccessMatchedRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#matchedRules(java.util.Collection)
-
-