Class ResponseCreateParams.StreamOptions.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseCreateParams.StreamOptions.BuilderA builder for StreamOptions. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description final ResponseCreateParams.StreamOptions.BuilderincludeObfuscation(Boolean includeObfuscation)When true, stream obfuscation will be enabled. final ResponseCreateParams.StreamOptions.BuilderincludeObfuscation(JsonField<Boolean> includeObfuscation)Sets Builder.includeObfuscation to an arbitrary JSON value. final ResponseCreateParams.StreamOptions.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseCreateParams.StreamOptions.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseCreateParams.StreamOptions.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseCreateParams.StreamOptions.BuilderremoveAdditionalProperty(String key)final ResponseCreateParams.StreamOptions.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseCreateParams.StreamOptionsbuild()Returns an immutable instance of StreamOptions. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        includeObfuscationfinal ResponseCreateParams.StreamOptions.Builder includeObfuscation(Boolean includeObfuscation) When true, stream obfuscation will be enabled. Stream obfuscation adds random characters to an obfuscationfield on streaming delta events to normalize payload sizes as a mitigation to certain side-channel attacks. These obfuscation fields are included by default, but add a small amount of overhead to the data stream. You can setinclude_obfuscationto false to optimize for bandwidth if you trust the network links between your application and the OpenAI API.
 - 
                                        includeObfuscationfinal ResponseCreateParams.StreamOptions.Builder includeObfuscation(JsonField<Boolean> includeObfuscation) Sets Builder.includeObfuscation to an arbitrary JSON value. You should usually call Builder.includeObfuscation with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ResponseCreateParams.StreamOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ResponseCreateParams.StreamOptions.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ResponseCreateParams.StreamOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ResponseCreateParams.StreamOptions.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ResponseCreateParams.StreamOptions.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ResponseCreateParams.StreamOptions build() Returns an immutable instance of StreamOptions. Further updates to this Builder will not mutate the returned instance. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-