Class ModelConfig.VertexModelConfigObject.Builder
-
- All Implemented Interfaces:
public final class ModelConfig.VertexModelConfigObject.BuilderA builder for VertexModelConfigObject.
-
-
Method Summary
-
-
Method Detail
-
auth
final ModelConfig.VertexModelConfigObject.Builder auth(ModelConfig.VertexModelConfigObject.Auth auth)
Vertex provider authentication configuration
-
auth
final ModelConfig.VertexModelConfigObject.Builder auth(JsonField<ModelConfig.VertexModelConfigObject.Auth> auth)
Sets Builder.auth to an arbitrary JSON value.
You should usually call Builder.auth with a well-typed Auth value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelName
final ModelConfig.VertexModelConfigObject.Builder modelName(String modelName)
Model name string with provider prefix (e.g., 'openai/gpt-5-nano')
-
modelName
final ModelConfig.VertexModelConfigObject.Builder modelName(JsonField<String> modelName)
Sets Builder.modelName to an arbitrary JSON value.
You should usually call Builder.modelName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
provider
final ModelConfig.VertexModelConfigObject.Builder provider(JsonValue provider)
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("vertex")This method is primarily for setting the field to an undocumented or not yet supported value.
-
providerOptions
final ModelConfig.VertexModelConfigObject.Builder providerOptions(ModelConfig.VertexModelConfigObject.ProviderOptions providerOptions)
Vertex provider-specific model configuration
-
providerOptions
final ModelConfig.VertexModelConfigObject.Builder providerOptions(JsonField<ModelConfig.VertexModelConfigObject.ProviderOptions> providerOptions)
Sets Builder.providerOptions to an arbitrary JSON value.
You should usually call Builder.providerOptions with a well-typed ProviderOptions value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
apiKey
final ModelConfig.VertexModelConfigObject.Builder apiKey(String apiKey)
API key for the model provider
-
apiKey
final ModelConfig.VertexModelConfigObject.Builder apiKey(JsonField<String> apiKey)
Sets Builder.apiKey to an arbitrary JSON value.
You should usually call Builder.apiKey with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
baseUrl
final ModelConfig.VertexModelConfigObject.Builder baseUrl(String baseUrl)
Base URL for the model provider
-
baseUrl
final ModelConfig.VertexModelConfigObject.Builder baseUrl(JsonField<String> baseUrl)
Sets Builder.baseUrl to an arbitrary JSON value.
You should usually call Builder.baseUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
headers
final ModelConfig.VertexModelConfigObject.Builder headers(ModelConfig.VertexModelConfigObject.Headers headers)
Custom headers sent with every request to the model provider
-
headers
final ModelConfig.VertexModelConfigObject.Builder headers(JsonField<ModelConfig.VertexModelConfigObject.Headers> headers)
Sets Builder.headers to an arbitrary JSON value.
You should usually call Builder.headers with a well-typed Headers value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ModelConfig.VertexModelConfigObject.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ModelConfig.VertexModelConfigObject.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ModelConfig.VertexModelConfigObject.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ModelConfig.VertexModelConfigObject.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ModelConfig.VertexModelConfigObject.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ModelConfig.VertexModelConfigObject build()
Returns an immutable instance of VertexModelConfigObject.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.auth() .modelName() .providerOptions()
-
-
-
-