public java.util.List<ImpersonationRule> getRules() {
        return rules;
    }
<p>
The list of rules for the given impersonation role.
</p>

@return The list of rules for the given impersonation role.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/GetImpersonationRoleResult.java