Interface DecisionRequestParameters
- All Known Implementing Classes:
DefaultDecisionRequestParameters
The per-call parameters of a
DecisionRequest, such as the modelName() to use. Provider
integrations can extend this interface (via DefaultDecisionRequestParameters and its self-typed builder)
to add provider-specific parameters.- Since:
- 1.21.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DecisionRequestParametersEmpty parameters: nothing is set. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultDecisionRequestParameters.Builder<?> builder()The name of the model to use for this request, ornullif not set (the model then uses its own configured default).Creates new parameters by combining these parameters with the specified ones.
-
Field Details
-
EMPTY
Empty parameters: nothing is set.
-
-
Method Details
-
modelName
String modelName()The name of the model to use for this request, ornullif not set (the model then uses its own configured default). -
overrideWith
Creates new parameters by combining these parameters with the specified ones. Values fromthatoverride these when both set the same parameter. Neither instance is modified.- Parameters:
that- the parameters whose values will override these ones, may benull.- Returns:
- new combined parameters.
-
builder
-