Class BetaManagedAgentsModelConfigParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelConfigParams.BuilderA builder for BetaManagedAgentsModelConfigParams.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsModelConfigParams.Builder id(BetaManagedAgentsModel id)
The model that will power your agent.
See models for additional details and options.
-
id
final BetaManagedAgentsModelConfigParams.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 BetaManagedAgentsModelConfigParams.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 BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsModelConfigParams.Effort effort)
How hard Claude works on each inference call. Accepts a bare level string (
"high") or{"type": "high"}. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(Optional<BetaManagedAgentsModelConfigParams.Effort> effort)
Alias for calling Builder.effort with
effort.orElse(null).
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(JsonField<BetaManagedAgentsModelConfigParams.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 BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsModelConfigParams.Effort.BetaManagedAgentsEffortLevel betaManagedAgentsEffortLevel)
Alias for calling effort with
Effort.ofBetaManagedAgentsEffortLevel(betaManagedAgentsEffortLevel).
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsEffortLow betaManagedAgentsEffortLow)
Alias for calling effort with
Effort.ofBetaManagedAgentsEffortLow(betaManagedAgentsEffortLow).
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsEffortMedium betaManagedAgentsEffortMedium)
Alias for calling effort with
Effort.ofBetaManagedAgentsEffortMedium(betaManagedAgentsEffortMedium).
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsEffortHigh betaManagedAgentsEffortHigh)
Alias for calling effort with
Effort.ofBetaManagedAgentsEffortHigh(betaManagedAgentsEffortHigh).
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsEffortXhigh betaManagedAgentsEffortXhigh)
Alias for calling effort with
Effort.ofBetaManagedAgentsEffortXhigh(betaManagedAgentsEffortXhigh).
-
effort
final BetaManagedAgentsModelConfigParams.Builder effort(BetaManagedAgentsEffortMax betaManagedAgentsEffortMax)
Alias for calling effort with
Effort.ofBetaManagedAgentsEffortMax(betaManagedAgentsEffortMax).
-
inferenceGeo
final BetaManagedAgentsModelConfigParams.Builder inferenceGeo(String inferenceGeo)
Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update,
modelis whole-object replacement — omitting inference_geo clears it.
-
inferenceGeo
final BetaManagedAgentsModelConfigParams.Builder inferenceGeo(Optional<String> inferenceGeo)
Alias for calling Builder.inferenceGeo with
inferenceGeo.orElse(null).
-
inferenceGeo
final BetaManagedAgentsModelConfigParams.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 BetaManagedAgentsModelConfigParams.Builder speed(BetaManagedAgentsModelConfigParams.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 BetaManagedAgentsModelConfigParams.Builder speed(Optional<BetaManagedAgentsModelConfigParams.Speed> speed)
Alias for calling Builder.speed with
speed.orElse(null).
-
speed
final BetaManagedAgentsModelConfigParams.Builder speed(JsonField<BetaManagedAgentsModelConfigParams.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 BetaManagedAgentsModelConfigParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsModelConfigParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsModelConfigParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsModelConfigParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsModelConfigParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsModelConfigParams build()
Returns an immutable instance of BetaManagedAgentsModelConfigParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-