Class BetaManagedAgentsModelConfig.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelConfig.BuilderA builder for BetaManagedAgentsModelConfig.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsModelConfig.Builder id(BetaManagedAgentsModel id)
The model that will power your agent.
See models for additional details and options.
-
id
final BetaManagedAgentsModelConfig.Builder id(JsonField<BetaManagedAgentsModel> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed BetaManagedAgentsModel value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final BetaManagedAgentsModelConfig.Builder id(String value)
Sets id to an arbitrary String.
You should usually call id with a well-typed BetaManagedAgentsModel constant instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
effort
final BetaManagedAgentsModelConfig.Builder effort(BetaManagedAgentsModelConfig.Effort effort)
How hard Claude works on each inference call. One of
low,medium,high,xhigh,max. Always present; resolved to the per-model default at save time when not supplied.
-
effort
final BetaManagedAgentsModelConfig.Builder effort(JsonField<BetaManagedAgentsModelConfig.Effort> effort)
Sets Builder.effort to an arbitrary JSON value.
You should usually call Builder.effort with a well-typed Effort value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
effort
final BetaManagedAgentsModelConfig.Builder effort(BetaManagedAgentsEffortLow low)
Alias for calling effort with
Effort.ofLow(low).
-
effort
final BetaManagedAgentsModelConfig.Builder effort(BetaManagedAgentsEffortMedium medium)
Alias for calling effort with
Effort.ofMedium(medium).
-
effort
final BetaManagedAgentsModelConfig.Builder effort(BetaManagedAgentsEffortHigh high)
Alias for calling effort with
Effort.ofHigh(high).
-
effort
final BetaManagedAgentsModelConfig.Builder effort(BetaManagedAgentsEffortXhigh xhigh)
Alias for calling effort with
Effort.ofXhigh(xhigh).
-
effort
final BetaManagedAgentsModelConfig.Builder effort(BetaManagedAgentsEffortMax max)
Alias for calling effort with
Effort.ofMax(max).
-
inferenceGeo
final BetaManagedAgentsModelConfig.Builder inferenceGeo(String inferenceGeo)
Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
-
inferenceGeo
final BetaManagedAgentsModelConfig.Builder inferenceGeo(JsonField<String> inferenceGeo)
Sets Builder.inferenceGeo to an arbitrary JSON value.
You should usually call Builder.inferenceGeo with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
speed
final BetaManagedAgentsModelConfig.Builder speed(BetaManagedAgentsModelConfig.Speed speed)
Inference speed mode.
fastprovides significantly faster output token generation at premium pricing. Defaults tostandard. Not all models supportfast; invalid combinations are rejected at create time.
-
speed
final BetaManagedAgentsModelConfig.Builder speed(JsonField<BetaManagedAgentsModelConfig.Speed> speed)
Sets Builder.speed to an arbitrary JSON value.
You should usually call Builder.speed with a well-typed Speed value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsModelConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsModelConfig.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsModelConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsModelConfig.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsModelConfig.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsModelConfig build()
Returns an immutable instance of BetaManagedAgentsModelConfig.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-