Class TestCreateResponse.Threshold.Builder
-
- All Implemented Interfaces:
public final class TestCreateResponse.Threshold.BuilderA builder for Threshold.
-
-
Method Summary
-
-
Method Detail
-
insightName
final TestCreateResponse.Threshold.Builder insightName(TestCreateResponse.Threshold.InsightName insightName)
The insight name to be evaluated.
-
insightName
final TestCreateResponse.Threshold.Builder insightName(JsonField<TestCreateResponse.Threshold.InsightName> insightName)
Sets Builder.insightName to an arbitrary JSON value.
You should usually call Builder.insightName with a well-typed InsightName value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
insightParameters
final TestCreateResponse.Threshold.Builder insightParameters(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'}
-
insightParameters
final TestCreateResponse.Threshold.Builder insightParameters(Optional<List<TestCreateResponse.Threshold.InsightParameter>> insightParameters)
Alias for calling Builder.insightParameters with
insightParameters.orElse(null).
-
insightParameters
final TestCreateResponse.Threshold.Builder insightParameters(JsonField<List<TestCreateResponse.Threshold.InsightParameter>> insightParameters)
Sets Builder.insightParameters to an arbitrary JSON value.
You should usually call Builder.insightParameters with a well-typed
List<InsightParameter>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addInsightParameter
final TestCreateResponse.Threshold.Builder addInsightParameter(TestCreateResponse.Threshold.InsightParameter insightParameter)
Adds a single InsightParameter to insightParameters.
-
measurement
final TestCreateResponse.Threshold.Builder measurement(String measurement)
The measurement to be evaluated.
-
measurement
final TestCreateResponse.Threshold.Builder measurement(JsonField<String> measurement)
Sets Builder.measurement to an arbitrary JSON value.
You should usually call Builder.measurement with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
operator
final TestCreateResponse.Threshold.Builder operator(TestCreateResponse.Threshold.Operator operator)
The operator to be used for the evaluation.
-
operator
final TestCreateResponse.Threshold.Builder operator(JsonField<TestCreateResponse.Threshold.Operator> operator)
Sets Builder.operator to an arbitrary JSON value.
You should usually call Builder.operator with a well-typed Operator value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
thresholdMode
final TestCreateResponse.Threshold.Builder thresholdMode(TestCreateResponse.Threshold.ThresholdMode thresholdMode)
Whether to use automatic anomaly detection or manual thresholds
-
thresholdMode
final TestCreateResponse.Threshold.Builder thresholdMode(JsonField<TestCreateResponse.Threshold.ThresholdMode> thresholdMode)
Sets Builder.thresholdMode to an arbitrary JSON value.
You should usually call Builder.thresholdMode with a well-typed ThresholdMode value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final TestCreateResponse.Threshold.Builder value(TestCreateResponse.Threshold.Value value)
The value to be compared.
-
value
final TestCreateResponse.Threshold.Builder value(JsonField<TestCreateResponse.Threshold.Value> value)
Sets Builder.value to an arbitrary JSON value.
You should usually call Builder.value with a well-typed Value value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final TestCreateResponse.Threshold.Builder value(Double number)
Alias for calling value with
Value.ofNumber(number).
-
value
final TestCreateResponse.Threshold.Builder value(Boolean bool)
Alias for calling value with
Value.ofBool(bool).
-
value
final TestCreateResponse.Threshold.Builder value(String string)
Alias for calling value with
Value.ofString(string).
-
valueOfStrings
final TestCreateResponse.Threshold.Builder valueOfStrings(List<String> strings)
Alias for calling value with
Value.ofStrings(strings).
-
additionalProperties
final TestCreateResponse.Threshold.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TestCreateResponse.Threshold.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TestCreateResponse.Threshold.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TestCreateResponse.Threshold.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TestCreateResponse.Threshold.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TestCreateResponse.Threshold build()
Returns an immutable instance of Threshold.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-