Package com.datadog.api.client.v2.model
Class LLMObsCustomEvalConfigTarget
java.lang.Object
com.datadog.api.client.v2.model.LLMObsCustomEvalConfigTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsCustomEvalConfigTarget
extends Object
Target application configuration for a custom evaluator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExperimentProjectIdsItem(UUID experimentProjectIdsItem) applicationName(String applicationName) booleanReturn true if this LLMObsCustomEvalConfigTarget object is equal to o.evalScope(LLMObsCustomEvalConfigEvalScope evalScope) experimentProjectIds(List<UUID> experimentProjectIds) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the ML application this evaluator targets.Whether the evaluator is active for the target application.Scope at which to evaluate spans.Experiment project IDs this evaluator is scoped to.Filter expression to select which spans to evaluate.org.openapitools.jackson.nullable.JsonNullable<String>When true, only root spans are evaluated.org.openapitools.jackson.nullable.JsonNullable<Boolean>Percentage of traces to evaluate.org.openapitools.jackson.nullable.JsonNullable<Double>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rootSpansOnly(Boolean rootSpansOnly) samplingPercentage(Double samplingPercentage) voidsetApplicationName(String applicationName) voidsetEnabled(Boolean enabled) voidsetEvalScope(LLMObsCustomEvalConfigEvalScope evalScope) voidsetExperimentProjectIds(List<UUID> experimentProjectIds) voidvoidsetFilter_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> filter) voidsetRootSpansOnly(Boolean rootSpansOnly) voidsetRootSpansOnly_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> rootSpansOnly) voidsetSamplingPercentage(Double samplingPercentage) voidsetSamplingPercentage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> samplingPercentage) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_APPLICATION_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EVAL_SCOPE
- See Also:
-
JSON_PROPERTY_EXPERIMENT_PROJECT_IDS
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_ROOT_SPANS_ONLY
- See Also:
-
JSON_PROPERTY_SAMPLING_PERCENTAGE
- See Also:
-
-
Constructor Details
-
LLMObsCustomEvalConfigTarget
public LLMObsCustomEvalConfigTarget() -
LLMObsCustomEvalConfigTarget
-
-
Method Details
-
applicationName
-
getApplicationName
Name of the ML application this evaluator targets.- Returns:
- applicationName
-
setApplicationName
-
enabled
-
getEnabled
Whether the evaluator is active for the target application.- Returns:
- enabled
-
setEnabled
-
evalScope
-
getEvalScope
Scope at which to evaluate spans.- Returns:
- evalScope
-
setEvalScope
-
experimentProjectIds
-
addExperimentProjectIdsItem
-
getExperimentProjectIds
Experiment project IDs this evaluator is scoped to.- Returns:
- experimentProjectIds
-
setExperimentProjectIds
-
filter
-
getFilter
Filter expression to select which spans to evaluate.- Returns:
- filter
-
getFilter_JsonNullable
-
setFilter_JsonNullable
-
setFilter
-
rootSpansOnly
-
getRootSpansOnly
When true, only root spans are evaluated.- Returns:
- rootSpansOnly
-
getRootSpansOnly_JsonNullable
-
setRootSpansOnly_JsonNullable
public void setRootSpansOnly_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> rootSpansOnly) -
setRootSpansOnly
-
samplingPercentage
-
getSamplingPercentage
Percentage of traces to evaluate. Must be greater than 0 and at most 100.- Returns:
- samplingPercentage
-
getSamplingPercentage_JsonNullable
-
setSamplingPercentage_JsonNullable
public void setSamplingPercentage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> samplingPercentage) -
setSamplingPercentage
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LLMObsCustomEvalConfigTarget
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LLMObsCustomEvalConfigTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-