* @param newLbRule
* @throws NetworkRuleConflictException
*/
protected void detectLbRulesConflicts(ApplicationLoadBalancerRule newLbRule) throws NetworkRuleConflictException {
if (newLbRule.getScheme() != Scheme.Internal) {
throw new UnsupportedServiceException("Only scheme of type " + Scheme.Internal + " is supported");
} else {
detectInternalLbRulesConflict(newLbRule);
}
}