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