public GetMobileDeviceAccessEffectResult withMatchedRules(java.util.Collection<MobileDeviceAccessMatchedRule> matchedRules) {
        setMatchedRules(matchedRules);
        return this;
    }
<p>
A list of the rules which matched the simulated user input and produced the effect.
</p>

@param matchedRules
       A list of the rules which matched the simulated user input and produced the effect.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/GetMobileDeviceAccessEffectResult.java