Class BetaBashCodeExecutionToolResultErrorParam.Builder
-
- All Implemented Interfaces:
public final class BetaBashCodeExecutionToolResultErrorParam.BuilderA builder for BetaBashCodeExecutionToolResultErrorParam.
-
-
Method Summary
-
-
Method Detail
-
errorCode
final BetaBashCodeExecutionToolResultErrorParam.Builder errorCode(BetaBashCodeExecutionToolResultErrorParam.ErrorCode errorCode)
-
errorCode
final BetaBashCodeExecutionToolResultErrorParam.Builder errorCode(JsonField<BetaBashCodeExecutionToolResultErrorParam.ErrorCode> errorCode)
Sets Builder.errorCode to an arbitrary JSON value.
You should usually call Builder.errorCode with a well-typed ErrorCode value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaBashCodeExecutionToolResultErrorParam.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("bash_code_execution_tool_result_error")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaBashCodeExecutionToolResultErrorParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaBashCodeExecutionToolResultErrorParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaBashCodeExecutionToolResultErrorParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaBashCodeExecutionToolResultErrorParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaBashCodeExecutionToolResultErrorParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaBashCodeExecutionToolResultErrorParam build()
Returns an immutable instance of BetaBashCodeExecutionToolResultErrorParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.errorCode()
-
-
-
-