Class BetaManagedAgentsModelConfig
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelConfigModel identifier and configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsModelConfig.BuilderA builder for BetaManagedAgentsModelConfig.
public final classBetaManagedAgentsModelConfig.EffortHow 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.public final classBetaManagedAgentsModelConfig.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<BetaManagedAgentsModelConfig.Effort>effort()How hard Claude works on each inference call. final Optional<String>inferenceGeo()Geographic region for model inference. final Optional<BetaManagedAgentsModelConfig.Speed>speed()Inference speed mode. final JsonField<BetaManagedAgentsModel>_id()Returns the raw JSON value of id. final JsonField<BetaManagedAgentsModelConfig.Effort>_effort()Returns the raw JSON value of effort. final JsonField<String>_inferenceGeo()Returns the raw JSON value of inferenceGeo. final JsonField<BetaManagedAgentsModelConfig.Speed>_speed()Returns the raw JSON value of speed. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsModelConfig.BuildertoBuilder()final BetaManagedAgentsModelConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsModelConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsModelConfig. final static BetaManagedAgentsModelConfigof(BetaManagedAgentsModel id)Returns an immutable instance of BetaManagedAgentsModelConfig with the required id set to the given value. final static BetaManagedAgentsModelConfigof(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<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.
-
inferenceGeo
final Optional<String> inferenceGeo()
Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
-
speed
final Optional<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.
-
_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<BetaManagedAgentsModelConfig.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<BetaManagedAgentsModelConfig.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 BetaManagedAgentsModelConfig.Builder toBuilder()
-
validate
final BetaManagedAgentsModelConfig 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 BetaManagedAgentsModelConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsModelConfig.
The following fields are required:
.id()
-
of
final static BetaManagedAgentsModelConfig of(BetaManagedAgentsModel id)
Returns an immutable instance of BetaManagedAgentsModelConfig with the required id set to the given value.
-
of
final static BetaManagedAgentsModelConfig 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.
-
-
-
-