Class BetaOutputConfig
-
- All Implemented Interfaces:
public final class BetaOutputConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaOutputConfig.BuilderA builder for BetaOutputConfig.
public final classBetaOutputConfig.EffortAll possible effort levels.
-
Method Summary
Modifier and Type Method Description final Optional<BetaOutputConfig.Effort>effort()All possible effort levels. final Optional<BetaJsonOutputFormat>format()A schema to specify Claude's output format in responses. final Optional<BetaTokenTaskBudget>taskBudget()User-configurable total token budget across contexts. final JsonField<BetaOutputConfig.Effort>_effort()Returns the raw JSON value of effort. final JsonField<BetaJsonOutputFormat>_format()Returns the raw JSON value of format. final JsonField<BetaTokenTaskBudget>_taskBudget()Returns the raw JSON value of taskBudget. final Map<String, JsonValue>_additionalProperties()final BetaOutputConfig.BuildertoBuilder()final BetaOutputConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaOutputConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaOutputConfig. -
-
Method Detail
-
effort
final Optional<BetaOutputConfig.Effort> effort()
All possible effort levels.
-
format
final Optional<BetaJsonOutputFormat> format()
A schema to specify Claude's output format in responses. See structured outputs
-
taskBudget
final Optional<BetaTokenTaskBudget> taskBudget()
User-configurable total token budget across contexts.
-
_effort
final JsonField<BetaOutputConfig.Effort> _effort()
Returns the raw JSON value of effort.
Unlike effort, this method doesn't throw if the JSON field has an unexpected type.
-
_format
final JsonField<BetaJsonOutputFormat> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_taskBudget
final JsonField<BetaTokenTaskBudget> _taskBudget()
Returns the raw JSON value of taskBudget.
Unlike taskBudget, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaOutputConfig.Builder toBuilder()
-
validate
final BetaOutputConfig 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 BetaOutputConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaOutputConfig.
-
-
-
-