Class EvalCreateParams.DataSourceConfig.Custom.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class EvalCreateParams.DataSourceConfig.Custom.BuilderA builder for Custom.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
itemSchema
final EvalCreateParams.DataSourceConfig.Custom.Builder itemSchema(EvalCreateParams.DataSourceConfig.Custom.ItemSchema itemSchema)
The json schema for each row in the data source.
 
- 
                                        
itemSchema
final EvalCreateParams.DataSourceConfig.Custom.Builder itemSchema(JsonField<EvalCreateParams.DataSourceConfig.Custom.ItemSchema> itemSchema)
Sets Builder.itemSchema to an arbitrary JSON value.
You should usually call Builder.itemSchema with a well-typed ItemSchema value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final EvalCreateParams.DataSourceConfig.Custom.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("custom")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
includeSampleSchema
final EvalCreateParams.DataSourceConfig.Custom.Builder includeSampleSchema(Boolean includeSampleSchema)
Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)
 
- 
                                        
includeSampleSchema
final EvalCreateParams.DataSourceConfig.Custom.Builder includeSampleSchema(JsonField<Boolean> includeSampleSchema)
Sets Builder.includeSampleSchema to an arbitrary JSON value.
You should usually call Builder.includeSampleSchema with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final EvalCreateParams.DataSourceConfig.Custom.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final EvalCreateParams.DataSourceConfig.Custom.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final EvalCreateParams.DataSourceConfig.Custom.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final EvalCreateParams.DataSourceConfig.Custom.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final EvalCreateParams.DataSourceConfig.Custom.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final EvalCreateParams.DataSourceConfig.Custom build()
Returns an immutable instance of Custom.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.itemSchema() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -