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