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