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