Dellin Betances is shut down and he won’t be back for quite some time now that a lat injury has surfaced.

The right-hander’s extended absence has only highlighted the importance of Adam Ottavino, who the Yankees signed during the offseason to improve an already strong bullpen.

Ottavino has delivered in his first season in The Bronx, having just had an 18-appearance (17¹/₃-inning) scoreless streak snapped Sunday in Cleveland.

But he’s not totally satisfied with his start with the Yankees.

“I’m happy with the overall runs that I’ve allowed, but process-wise, it could have been better,’’ Ottavino said. “I’m focused on that.’’

Ottavino pointed to his 19 walks in 29 ¹/₃ innings and his propensity for getting into deep counts against opposing batters.

“I haven’t been as consistent as I’d like, like I am when I’m at my best,’’ Ottavino said. “I’ve had my fair share of really brutal walks. That’s obviously disappointing. And I think I could have finished some more guys off with strikeouts.”

Ottavino’s ratio of 5.8 walks per nine innings is the second-worst of his career, better only than the 6.6 per nine innings he had during a terrible 2017 season.

Unlike that year, Ottavino has been very difficult to hit this season and has been used aggressively, anywhere from the fifth to the eighth inning.

“I know where I fit in on the club every day,’’ Ottavino said. “Me and [Tommy] Kahnle know what parts of the lineup are gonna be our spots. … I feel like I’ve pitched in any role and it’s worked out well.”

Any concern about being impacted by pitching in his hometown has gone away for the Brooklyn native.

“I’ve been insulated from all that,’’ Ottavino said. “I can just keep my attention on who we’re playing. Everyone around me is doing a good job and been helpful with not letting me get distracted.”

The Yankees announced Wednesday that Mariano Rivera is scheduled to attend Old-Timers’ Day for the first time on June 23.

Rivera will be inducted into the Baseball Hall of Fame in Cooperstown next month.

Left-hander Stephen Tarpley was optioned to Triple-A Scranton/Wilkes-Barre on Wednesday after he pitched the ninth inning of the Yankees’ loss in the nightcap of Tuesday’s doubleheader against the Mets. No corresponding move was announced.

The Yankees have homered in 15 consecutive games, their longest streak since they hit home runs in 16 straight games, from May 15-June 4, 1994. It’s the fifth-longest stretch in franchise history.