Class TestCreateResponse.Threshold
-
- All Implemented Interfaces:
public final class TestCreateResponse.Threshold
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTestCreateResponse.Threshold.BuilderA builder for Threshold.
public final classTestCreateResponse.Threshold.InsightNameThe insight name to be evaluated.
public final classTestCreateResponse.Threshold.InsightParameterpublic final classTestCreateResponse.Threshold.OperatorThe operator to be used for the evaluation.
public final classTestCreateResponse.Threshold.ThresholdModeWhether to use automatic anomaly detection or manual thresholds
public final classTestCreateResponse.Threshold.ValueThe value to be compared.
-
Method Summary
-
-
Method Detail
-
insightName
final Optional<TestCreateResponse.Threshold.InsightName> insightName()
The insight name to be evaluated.
-
insightParameters
final Optional<List<TestCreateResponse.Threshold.InsightParameter>> insightParameters()
The insight parameters. Required only for some test subtypes. For example, for tests that require a column name, the insight parameters will be {'name': 'column_name', 'value': 'Age'}
-
measurement
final Optional<String> measurement()
The measurement to be evaluated.
-
operator
final Optional<TestCreateResponse.Threshold.Operator> operator()
The operator to be used for the evaluation.
-
thresholdMode
final Optional<TestCreateResponse.Threshold.ThresholdMode> thresholdMode()
Whether to use automatic anomaly detection or manual thresholds
-
value
final Optional<TestCreateResponse.Threshold.Value> value()
The value to be compared.
-
_insightName
final JsonField<TestCreateResponse.Threshold.InsightName> _insightName()
Returns the raw JSON value of insightName.
Unlike insightName, this method doesn't throw if the JSON field has an unexpected type.
-
_insightParameters
final JsonField<List<TestCreateResponse.Threshold.InsightParameter>> _insightParameters()
Returns the raw JSON value of insightParameters.
Unlike insightParameters, this method doesn't throw if the JSON field has an unexpected type.
-
_measurement
final JsonField<String> _measurement()
Returns the raw JSON value of measurement.
Unlike measurement, this method doesn't throw if the JSON field has an unexpected type.
-
_operator
final JsonField<TestCreateResponse.Threshold.Operator> _operator()
Returns the raw JSON value of operator.
Unlike operator, this method doesn't throw if the JSON field has an unexpected type.
-
_thresholdMode
final JsonField<TestCreateResponse.Threshold.ThresholdMode> _thresholdMode()
Returns the raw JSON value of thresholdMode.
Unlike thresholdMode, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<TestCreateResponse.Threshold.Value> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TestCreateResponse.Threshold.Builder toBuilder()
-
validate
final TestCreateResponse.Threshold validate()
-
builder
final static TestCreateResponse.Threshold.Builder builder()
Returns a mutable builder for constructing an instance of Threshold.
-
-
-
-