public void setEffect(String effect) {
        this.effect = effect;
    }
<p>
The effect of the override, <code>ALLOW</code> or <code>DENY</code>.
</p>

@param effect
       The effect of the override, <code>ALLOW</code> or <code>DENY</code>.
@see MobileDeviceAccessRuleEffect
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/PutMobileDeviceAccessOverrideRequest.java