public void setEffect(String effect) {
        this.effect = effect;
    }
<p>
The effect of the simulated access, <code>ALLOW</code> or <code>DENY</code>, after evaluating mobile device
access rules in the WorkMail organization for the simulated user parameters.
</p>

@param effect
       The effect of the simulated access, <code>ALLOW</code> or <code>DENY</code>, after evaluating mobile
       device access rules in the WorkMail organization for the simulated user parameters.
@see MobileDeviceAccessRuleEffect
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/GetMobileDeviceAccessEffectResult.java