public static SelectorDTO buildDefaultSelectorDTO(final String name) {
        return SelectorDTO.builder()
                .name(name)
                .type(SelectorTypeEnum.CUSTOM_FLOW.getCode())
                .matchMode(MatchModeEnum.AND.getCode())
                .enabled(Boolean.TRUE)
                .loged(Boolean.TRUE)
                .continued(Boolean.TRUE)
                .matchRestful(Boolean.FALSE)
                .sort(1)
                .build();
    }
build default selector.

@param name selector name
@return selector
shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/SelectorUtil.java