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