Class ResponseFormatTextJsonSchemaConfig.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseFormatTextJsonSchemaConfig.BuilderA builder for ResponseFormatTextJsonSchemaConfig. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        namefinal ResponseFormatTextJsonSchemaConfig.Builder name(String name) The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. 
 - 
                                        namefinal ResponseFormatTextJsonSchemaConfig.Builder name(JsonField<String> name) Sets Builder.name to an arbitrary JSON value. You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        schemafinal ResponseFormatTextJsonSchemaConfig.Builder schema(ResponseFormatTextJsonSchemaConfig.Schema schema) The schema for the response format, described as a JSON Schema object. Learn how to build JSON schemas here. 
 - 
                                        schemafinal ResponseFormatTextJsonSchemaConfig.Builder schema(JsonField<ResponseFormatTextJsonSchemaConfig.Schema> schema) Sets Builder.schema to an arbitrary JSON value. You should usually call Builder.schema with a well-typed Schema value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ResponseFormatTextJsonSchemaConfig.Builder type(JsonValue type) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("json_schema")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        descriptionfinal ResponseFormatTextJsonSchemaConfig.Builder description(String description) A description of what the response format is for, used by the model to determine how to respond in the format. 
 - 
                                        descriptionfinal ResponseFormatTextJsonSchemaConfig.Builder description(JsonField<String> description) Sets Builder.description to an arbitrary JSON value. You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        strictfinal ResponseFormatTextJsonSchemaConfig.Builder strict(Boolean strict) Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schemafield. Only a subset of JSON Schema is supported whenstrictistrue. To learn more, read the Structured Outputs guide.
 - 
                                        strictfinal ResponseFormatTextJsonSchemaConfig.Builder strict(Boolean strict) Alias for Builder.strict. This unboxed primitive overload exists for backwards compatibility. 
 - 
                                        strictfinal ResponseFormatTextJsonSchemaConfig.Builder strict(Optional<Boolean> strict) Alias for calling Builder.strict with strict.orElse(null).
 - 
                                        strictfinal ResponseFormatTextJsonSchemaConfig.Builder strict(JsonField<Boolean> strict) Sets Builder.strict to an arbitrary JSON value. You should usually call Builder.strict with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ResponseFormatTextJsonSchemaConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ResponseFormatTextJsonSchemaConfig.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ResponseFormatTextJsonSchemaConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ResponseFormatTextJsonSchemaConfig.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ResponseFormatTextJsonSchemaConfig.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ResponseFormatTextJsonSchemaConfig build() Returns an immutable instance of ResponseFormatTextJsonSchemaConfig. Further updates to this Builder will not mutate the returned instance. The following fields are required: .name() .schema()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-