class CmMgmtYarnConfigService implements CmConfigServiceDelegate {

    @Override
    public void setConfigs(Stack stack, ApiRoleList apiRoleList) {
        if (CloudPlatform.YARN.equalsIgnoreCase(stack.getCloudPlatform())) {
            apiRoleList.getItems().forEach(this::addSuppressionConfigs);
        }
    }

}