Class BetaDreamModelConfigParam.Builder
-
- All Implemented Interfaces:
public final class BetaDreamModelConfigParam.BuilderA builder for BetaDreamModelConfigParam.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaDreamModelConfigParam.Builder id(String id)
The ID of the model to run the dream with.
The ID can be 1 to 256 characters long.
The Availability section of the Dreams guide lists the supported models.
-
id
final BetaDreamModelConfigParam.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.
-
speed
final BetaDreamModelConfigParam.Builder speed(BetaDreamModelConfigParam.Speed speed)
How fast the model generates output for the dream. Defaults to
standard.Dreams accept only
standard.
-
speed
final BetaDreamModelConfigParam.Builder speed(Optional<BetaDreamModelConfigParam.Speed> speed)
Alias for calling Builder.speed with
speed.orElse(null).
-
speed
final BetaDreamModelConfigParam.Builder speed(JsonField<BetaDreamModelConfigParam.Speed> speed)
Sets Builder.speed to an arbitrary JSON value.
You should usually call Builder.speed with a well-typed Speed value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaDreamModelConfigParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaDreamModelConfigParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaDreamModelConfigParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaDreamModelConfigParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaDreamModelConfigParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaDreamModelConfigParam build()
Returns an immutable instance of BetaDreamModelConfigParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-