Package com.openai.models.webhooks
        Class WebhookVerificationParams.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class WebhookVerificationParams.Builder
- 
                
                    
                    - 
                                
                            
                                Constructor SummaryConstructors Constructor Description WebhookVerificationParams.Builder()
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final WebhookVerificationParams.Builderpayload(String payload)The webhook payload as a string final WebhookVerificationParams.Builderpayload(ByteArray payload)The webhook payload as a byte array final WebhookVerificationParams.Builderheaders(Headers headers)The webhook headers final WebhookVerificationParams.Buildersecret(String secret)The webhook secret (optional, will use client secret if not provided) final WebhookVerificationParams.Buildersecret(Optional<String> secret)The webhook secret (optional, will use client secret if not provided) final WebhookVerificationParams.Buildertolerance(Duration tolerance)Maximum age of the webhook (default: 5 minutes) final WebhookVerificationParams.Buildertolerance(Integer toleranceSeconds)Maximum age of the webhook in seconds (default: 300 = 5 minutes) final WebhookVerificationParamsbuild()- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        payloadfinal WebhookVerificationParams.Builder payload(String payload) The webhook payload as a string 
 - 
                                        payloadfinal WebhookVerificationParams.Builder payload(ByteArray payload) The webhook payload as a byte array 
 - 
                                        headersfinal WebhookVerificationParams.Builder headers(Headers headers) The webhook headers 
 - 
                                        secretfinal WebhookVerificationParams.Builder secret(String secret) The webhook secret (optional, will use client secret if not provided) 
 - 
                                        secretfinal WebhookVerificationParams.Builder secret(Optional<String> secret) The webhook secret (optional, will use client secret if not provided) 
 - 
                                        tolerancefinal WebhookVerificationParams.Builder tolerance(Duration tolerance) Maximum age of the webhook (default: 5 minutes) 
 - 
                                        tolerancefinal WebhookVerificationParams.Builder tolerance(Integer toleranceSeconds) Maximum age of the webhook in seconds (default: 300 = 5 minutes) 
 - 
                                        buildfinal WebhookVerificationParams build() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-