Package com.anthropic.models.messages
Class BashCodeExecutionOutputBlock.Builder
-
- All Implemented Interfaces:
public final class BashCodeExecutionOutputBlock.BuilderA builder for BashCodeExecutionOutputBlock.
-
-
Method Summary
Modifier and Type Method Description final BashCodeExecutionOutputBlock.BuilderfileId(String fileId)final BashCodeExecutionOutputBlock.BuilderfileId(JsonField<String> fileId)Sets Builder.fileId to an arbitrary JSON value. final BashCodeExecutionOutputBlock.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BashCodeExecutionOutputBlock.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BashCodeExecutionOutputBlock.BuilderputAdditionalProperty(String key, JsonValue value)final BashCodeExecutionOutputBlock.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BashCodeExecutionOutputBlock.BuilderremoveAdditionalProperty(String key)final BashCodeExecutionOutputBlock.BuilderremoveAllAdditionalProperties(Set<String> keys)final BashCodeExecutionOutputBlockbuild()Returns an immutable instance of BashCodeExecutionOutputBlock. -
-
Method Detail
-
fileId
final BashCodeExecutionOutputBlock.Builder fileId(String fileId)
-
fileId
final BashCodeExecutionOutputBlock.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 BashCodeExecutionOutputBlock.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 BashCodeExecutionOutputBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BashCodeExecutionOutputBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BashCodeExecutionOutputBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BashCodeExecutionOutputBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BashCodeExecutionOutputBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BashCodeExecutionOutputBlock build()
Returns an immutable instance of BashCodeExecutionOutputBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileId()
-
-
-
-