v3.25.2
Borrowings - Narrative (Details)
12 Months Ended
Jun. 14, 2023
USD ($)
period
Jan. 25, 2019
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Oct. 31, 2023
USD ($)
Debt Instrument [Line Items]          
Borrowings     $ 0 $ 599,000,000  
Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration]     Secured Overnight Financing Rate (SOFR) [Member]    
Revolving Credit Agreement          
Debt Instrument [Line Items]          
Long-term debt, term (in years) 5 years        
Limit on revolving credit facility $ 1,000,000,000.0        
Sub-limit for maximum amount of letters of credit issuable under revolving credit facility 150,000,000        
Line of credit facility, maximum borrowing capacity $ 1,750,000,000        
Maturity extension number of one year periods | period 2        
Maturity extension term 1 year        
Debt instrument variable interest rate     1.125%    
Line of credit facility, commitment fee percentage     0.125%    
Borrowings outstanding     $ 0    
Senior Notes Issued October 2033          
Debt Instrument [Line Items]          
Senior notes         $ 1,250,000,000
Senior Notes          
Debt Instrument [Line Items]          
Early redemption in certain circumstances where a change in control is deemed to have occurred, percent of principal   101.00%      
Senior Notes | 3.050% senior notes due 2025          
Debt Instrument [Line Items]          
Borrowings       $ 600,000,000  
Debt instrument interest rate     3.05% 3.05%