Package com.anthropic.models.messages
Class BashCodeExecutionOutputBlockParam.Builder
-
- All Implemented Interfaces:
public final class BashCodeExecutionOutputBlockParam.BuilderA builder for BashCodeExecutionOutputBlockParam.
-
-
Method Summary
Modifier and Type Method Description final BashCodeExecutionOutputBlockParam.BuilderfileId(String fileId)final BashCodeExecutionOutputBlockParam.BuilderfileId(JsonField<String> fileId)Sets Builder.fileId to an arbitrary JSON value. final BashCodeExecutionOutputBlockParam.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BashCodeExecutionOutputBlockParam.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BashCodeExecutionOutputBlockParam.BuilderputAdditionalProperty(String key, JsonValue value)final BashCodeExecutionOutputBlockParam.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BashCodeExecutionOutputBlockParam.BuilderremoveAdditionalProperty(String key)final BashCodeExecutionOutputBlockParam.BuilderremoveAllAdditionalProperties(Set<String> keys)final BashCodeExecutionOutputBlockParambuild()Returns an immutable instance of BashCodeExecutionOutputBlockParam. -
-
Method Detail
-
fileId
final BashCodeExecutionOutputBlockParam.Builder fileId(String fileId)
-
fileId
final BashCodeExecutionOutputBlockParam.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BashCodeExecutionOutputBlockParam.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_output")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BashCodeExecutionOutputBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BashCodeExecutionOutputBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BashCodeExecutionOutputBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BashCodeExecutionOutputBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BashCodeExecutionOutputBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BashCodeExecutionOutputBlockParam build()
Returns an immutable instance of BashCodeExecutionOutputBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileId()
-
-
-
-