public java.util.List<Rule> getRules() {
        return rules;
    }
<p>
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your
request, the update replaces the existing rules.
</p>

@return Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for
        your request, the update replaces the existing rules.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/UpdateDevicePoolRequest.java