v3.25.1
Borrowings - Additional Information (Details) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended
Aug. 17, 2023
Dec. 31, 2024
May 31, 2021
Apr. 30, 2021
Mar. 31, 2021
Dec. 31, 2019
Jun. 30, 2016
Mar. 31, 2025
Mar. 31, 2024
Mar. 31, 2025
Mar. 31, 2024
Jun. 30, 2024
Debt Instrument [Line Items]                        
Principal amount               $ 3,445,800,000   $ 3,445,800,000    
Fair value               3,258,900,000   3,258,900,000    
Outstanding amount of line of credit               0   0   $ 0
Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Principal amount               125,800,000   125,800,000    
Fair value               125,800,000   125,800,000    
Senior Notes                        
Debt Instrument [Line Items]                        
Principal amount               2,250,000,000   2,250,000,000    
Fair value               2,063,000,000   $ 2,063,000,000    
Fiscal 2025 Revolving Credit Facility | Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Maximum borrowing capacity   $ 1,500,000,000                    
Debt instrument, term   5 years                    
Annual facility fee (as basis points)                   0.125%    
Annual facility fee, step up (as basis points)                   0.25%    
Annual facility fee, step down (as basis points)                   0.09%    
Fiscal 2025 Revolving Credit Facility | Revolving Credit Facility | SOFR                        
Debt Instrument [Line Items]                        
Basis spread on variable rate                   1.00%    
Fiscal 2025 Revolving Credit Facility | Revolving Credit Facility | SOFR, Step Up                        
Debt Instrument [Line Items]                        
Basis spread on variable rate                   1.25%    
Fiscal 2025 Revolving Credit Facility | Revolving Credit Facility | SOFR, Step Down                        
Debt Instrument [Line Items]                        
Basis spread on variable rate                   0.785%    
Fiscal 2025 Revolving Credit Facility: | Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Maximum borrowing capacity       $ 1,500,000,000                
Debt instrument, term       5 years                
Fiscal 2025 Revolving Credit Facility U.S. Dollar Tranche | Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Maximum borrowing capacity   $ 1,000,000,000.0                    
Principal amount               0   $ 0    
Fair value               0   0    
Fiscal 2025 Revolving Credit Facility Multicurrency Tranche | Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Maximum borrowing capacity   $ 500,000,000.0                    
Principal amount               125,800,000   125,800,000    
Fair value               $ 125,800,000   $ 125,800,000    
Revolving Credit Facilities | Revolving Credit Facility                        
Debt Instrument [Line Items]                        
Weighted-average interest rate               5.07% 6.52% 5.68% 6.49%  
Fiscal 2021 Term Loans | Term Loans                        
Debt Instrument [Line Items]                        
Debt instrument, term         18 months              
Principal amount         $ 2,550,000,000              
Fiscal 2021 Term Loans, Tranche 1 | Term Loans                        
Debt Instrument [Line Items]                        
Principal amount         1,000,000,000              
Fiscal 2021 Term Loans, Tranche 2 | Term Loans                        
Debt Instrument [Line Items]                        
Principal amount         $ 1,550,000,000              
Fiscal 2021 Term Loans, Tranche 2 | Term Loans | SOFR                        
Debt Instrument [Line Items]                        
Basis spread on variable rate         1.00%              
Fiscal 2021 Term Loans, Tranche 2 | Term Loans | SOFR, Step Up                        
Debt Instrument [Line Items]                        
Basis spread on variable rate         1.25%              
Fiscal 2021 Term Loans, Tranche 2 | Term Loans | SOFR, Step Down                        
Debt Instrument [Line Items]                        
Basis spread on variable rate         0.75%              
Fiscal 2024 Amended Term Loan | Term Loans                        
Debt Instrument [Line Items]                        
Principal amount $ 1,300,000,000             $ 1,070,000,000   $ 1,070,000,000    
Fair value               1,070,000,000   1,070,000,000    
Fiscal 2024 Amended Term Loan | Term Loans | SOFR                        
Debt Instrument [Line Items]                        
Basis spread on variable rate 1.25%                      
Fiscal 2024 Amended Term Loan | Term Loans | SOFR, Step Up                        
Debt Instrument [Line Items]                        
Basis spread on variable rate 1.375%                      
Fiscal 2024 Amended Term Loan | Term Loans | SOFR, Step Down | Maximum                        
Debt Instrument [Line Items]                        
Basis spread on variable rate 1.125%                      
Fiscal 2024 Amended Term Loan | Term Loans | SOFR, Step Down | Minimum                        
Debt Instrument [Line Items]                        
Basis spread on variable rate 1.00%                      
Fiscal 2016 Senior Notes | Senior Notes                        
Debt Instrument [Line Items]                        
Principal amount             $ 500,000,000.0 500,000,000.0   500,000,000.0    
Interest rate, senior notes             3.40%          
Percentage of principal amount             99.589%          
Effective interest rate, senior notes             3.449%          
Fair value               493,200,000   493,200,000    
Fiscal 2016 Senior Notes | Senior Notes | Long-term debt                        
Debt Instrument [Line Items]                        
Fair value               493,200,000   493,200,000   480,400,000
Fiscal 2020 Senior Notes | Senior Notes                        
Debt Instrument [Line Items]                        
Principal amount           $ 750,000,000   750,000,000.0   750,000,000.0    
Interest rate, senior notes           2.90%            
Percentage of principal amount           99.717%            
Effective interest rate, senior notes           2.933%            
Fair value               692,700,000   692,700,000   667,700,000
Fiscal 2021 Senior Notes | Senior Notes                        
Debt Instrument [Line Items]                        
Principal amount     $ 1,000,000,000         1,000,000,000   1,000,000,000    
Interest rate, senior notes     2.60%                  
Percentage of principal amount     99.957%                  
Effective interest rate, senior notes     2.605%                  
Fair value               877,200,000   877,200,000    
Fiscal 2021 Senior Notes | Senior Notes | Long-term debt                        
Debt Instrument [Line Items]                        
Fair value               $ 877,200,000   $ 877,200,000   $ 843,500,000