Package com.anthropic.models.files
Class FileNotDownloadableErrorDetails.Builder
-
- All Implemented Interfaces:
public final class FileNotDownloadableErrorDetails.BuilderA builder for FileNotDownloadableErrorDetails.
-
-
Method Summary
Modifier and Type Method Description final FileNotDownloadableErrorDetails.BuildererrorCode(JsonValue errorCode)Sets the field to an arbitrary JSON value. final FileNotDownloadableErrorDetails.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final FileNotDownloadableErrorDetails.BuilderputAdditionalProperty(String key, JsonValue value)final FileNotDownloadableErrorDetails.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final FileNotDownloadableErrorDetails.BuilderremoveAdditionalProperty(String key)final FileNotDownloadableErrorDetails.BuilderremoveAllAdditionalProperties(Set<String> keys)final FileNotDownloadableErrorDetailsbuild()Returns an immutable instance of FileNotDownloadableErrorDetails. -
-
Method Detail
-
errorCode
final FileNotDownloadableErrorDetails.Builder errorCode(JsonValue errorCode)
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("file_not_downloadable")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileNotDownloadableErrorDetails.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileNotDownloadableErrorDetails.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileNotDownloadableErrorDetails.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileNotDownloadableErrorDetails.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileNotDownloadableErrorDetails.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileNotDownloadableErrorDetails build()
Returns an immutable instance of FileNotDownloadableErrorDetails.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-