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
Modifier and TypeMethodDescriptionThe effect of the simulated access,ALLOW
orDENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.effect
(MobileDeviceAccessRuleEffect effect) The effect of the simulated access,ALLOW
orDENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.matchedRules
(Collection<MobileDeviceAccessMatchedRule> matchedRules) A list of the rules which matched the simulated user input and produced the effect.matchedRules
(Consumer<MobileDeviceAccessMatchedRule.Builder>... matchedRules) A list of the rules which matched the simulated user input and produced the effect.matchedRules
(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 Details
-
effect
The effect of the simulated access,
ALLOW
orDENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.- Parameters:
effect
- The effect of the simulated access,ALLOW
orDENY
, 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:
-
effect
The effect of the simulated access,
ALLOW
orDENY
, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.- Parameters:
effect
- The effect of the simulated access,ALLOW
orDENY
, 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:
-
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.Builder
avoiding the need to create one manually viaMobileDeviceAccessMatchedRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchedRules(List<MobileDeviceAccessMatchedRule>)
.- 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:
-