Class BetaManagedAgentsModelConfigParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelConfigParamsAn object that defines additional configuration control over model use
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsModelConfigParams.BuilderA builder for BetaManagedAgentsModelConfigParams.
public final classBetaManagedAgentsModelConfigParams.EffortHow 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.public final classBetaManagedAgentsModelConfigParams.SpeedInference speed mode.
fastprovides significantly faster output token generation at premium pricing. Defaults tostandard. Not all models supportfast; invalid combinations are rejected at create time.
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsModelid()The model that will power your agent. final Optional<BetaManagedAgentsModelConfigParams.Effort>effort()How hard Claude works on each inference call. final Optional<String>inferenceGeo()Geographic region for model inference. final Optional<BetaManagedAgentsModelConfigParams.Speed>speed()Inference speed mode. final JsonField<BetaManagedAgentsModel>_id()Returns the raw JSON value of id. final JsonField<BetaManagedAgentsModelConfigParams.Effort>_effort()Returns the raw JSON value of effort. final JsonField<String>_inferenceGeo()Returns the raw JSON value of inferenceGeo. final JsonField<BetaManagedAgentsModelConfigParams.Speed>_speed()Returns the raw JSON value of speed. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsModelConfigParams.BuildertoBuilder()final BetaManagedAgentsModelConfigParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsModelConfigParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsModelConfigParams. final static BetaManagedAgentsModelConfigParamsof(BetaManagedAgentsModel id)Returns an immutable instance of BetaManagedAgentsModelConfigParams with the required id set to the given value. final static BetaManagedAgentsModelConfigParamsof(String value)Alias for calling of with BetaManagedAgentsModel.of(value).-
-
Method Detail
-
id
final BetaManagedAgentsModel id()
The model that will power your agent.
See models for additional details and options.
-
effort
final Optional<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.
-
inferenceGeo
final Optional<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.
-
speed
final Optional<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.
-
_id
final JsonField<BetaManagedAgentsModel> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_effort
final JsonField<BetaManagedAgentsModelConfigParams.Effort> _effort()
Returns the raw JSON value of effort.
Unlike effort, this method doesn't throw if the JSON field has an unexpected type.
-
_inferenceGeo
final JsonField<String> _inferenceGeo()
Returns the raw JSON value of inferenceGeo.
Unlike inferenceGeo, this method doesn't throw if the JSON field has an unexpected type.
-
_speed
final JsonField<BetaManagedAgentsModelConfigParams.Speed> _speed()
Returns the raw JSON value of speed.
Unlike speed, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsModelConfigParams.Builder toBuilder()
-
validate
final BetaManagedAgentsModelConfigParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsModelConfigParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsModelConfigParams.
The following fields are required:
.id()
-
of
final static BetaManagedAgentsModelConfigParams of(BetaManagedAgentsModel id)
Returns an immutable instance of BetaManagedAgentsModelConfigParams with the required id set to the given value.
-
of
final static BetaManagedAgentsModelConfigParams of(String value)
Alias for calling of with
BetaManagedAgentsModel.of(value).You should usually call of with a well-typed BetaManagedAgentsModel constant instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
-
-
-