Package com.datadog.api.client.v1.model
Class MonitorFormulaAndFunctionDataQualitySourceToTargetConfig
java.lang.Object
com.datadog.api.client.v1.model.MonitorFormulaAndFunctionDataQualitySourceToTargetConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorFormulaAndFunctionDataQualitySourceToTargetConfig
extends Object
Configuration for a source to target monitor, which compares the same measure across two data
entities and alerts on the difference between them.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMonitorFormulaAndFunctionDataQualitySourceToTargetConfig(MonitorFormulaAndFunctionDataQualityDiffType diffType, String entityType, MonitorFormulaAndFunctionDataQualityEntityMetricConfig source, MonitorFormulaAndFunctionDataQualityEntityMetricConfig target) -
Method Summary
Modifier and TypeMethodDescriptionentityType(String entityType) booleanReturn true if this MonitorFormulaAndFunctionDataQualitySourceToTargetConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.How the difference between the source and target measures is computed.Type of the data entities being compared.Measure configuration for one side of a source to target comparison.Measure configuration for one side of a source to target comparison.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetEntityType(String entityType) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DIFF_TYPE
- See Also:
-
JSON_PROPERTY_ENTITY_TYPE
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
-
Constructor Details
-
MonitorFormulaAndFunctionDataQualitySourceToTargetConfig
public MonitorFormulaAndFunctionDataQualitySourceToTargetConfig() -
MonitorFormulaAndFunctionDataQualitySourceToTargetConfig
public MonitorFormulaAndFunctionDataQualitySourceToTargetConfig(MonitorFormulaAndFunctionDataQualityDiffType diffType, String entityType, MonitorFormulaAndFunctionDataQualityEntityMetricConfig source, MonitorFormulaAndFunctionDataQualityEntityMetricConfig target)
-
-
Method Details
-
diffType
public MonitorFormulaAndFunctionDataQualitySourceToTargetConfig diffType(MonitorFormulaAndFunctionDataQualityDiffType diffType) -
getDiffType
How the difference between the source and target measures is computed.absolutesubtracts the two values,diff_percentexpresses the difference as a percentage of the source value.- Returns:
- diffType
-
setDiffType
-
entityType
-
getEntityType
Type of the data entities being compared.- Returns:
- entityType
-
setEntityType
-
source
-
getSource
Measure configuration for one side of a source to target comparison.- Returns:
- source
-
setSource
-
target
-
getTarget
Measure configuration for one side of a source to target comparison.- Returns:
- target
-
setTarget
-
putAdditionalProperty
public MonitorFormulaAndFunctionDataQualitySourceToTargetConfig putAdditionalProperty(String key, Object value) 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:
- MonitorFormulaAndFunctionDataQualitySourceToTargetConfig
-
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 MonitorFormulaAndFunctionDataQualitySourceToTargetConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-