def METHOD_NAME(cls, build_type, arch):
    prefix = {
        TYPE_DOCKER: "esphome/esphome",
        TYPE_HA_ADDON: "esphome/esphome-hassio",
        TYPE_LINT: "esphome/esphome-lint",
    }[build_type]
    build_to = f"{prefix}-{arch}"
    baseimgtype = {
        TYPE_DOCKER: "docker",
        TYPE_HA_ADDON: "hassio",
        TYPE_LINT: "docker",
    }[build_type]
    platform = {
        ARCH_AMD64: "linux/amd64",
        ARCH_ARMV7: "linux/arm/v7",
        ARCH_AARCH64: "linux/arm64",
    }[arch]
    target = {
        TYPE_DOCKER: "docker",
        TYPE_HA_ADDON: "hassio",
        TYPE_LINT: "lint",
    }[build_type]
    return cls(
        build_to=build_to,
        manifest_to=prefix,
        baseimgtype=baseimgtype,
        platform=platform,
        target=target,
    )