public String getEffect() {
        return this.effect;
    }
<p>
The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.
</p>

@return The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.
@see MobileDeviceAccessRuleEffect
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/CreateMobileDeviceAccessRuleRequest.java