Package com.datadog.api.client.v2.model
Class GuardrailMetric
java.lang.Object
com.datadog.api.client.v2.model.GuardrailMetric
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GuardrailMetric
extends Object
Guardrail metric details.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this GuardrailMetric object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The metric ID to monitor.Action to perform when a guardrail threshold is triggered.The signal or system that triggered the action.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMetricId(String metricId) voidsetTriggerAction(GuardrailTriggerAction triggerAction) voidsetTriggeredBy(String triggeredBy) voidsetTriggeredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> triggeredBy) toString()triggerAction(GuardrailTriggerAction triggerAction) triggeredBy(String triggeredBy)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_METRIC_ID
- See Also:
-
JSON_PROPERTY_TRIGGER_ACTION
- See Also:
-
JSON_PROPERTY_TRIGGERED_BY
- See Also:
-
-
Constructor Details
-
GuardrailMetric
public GuardrailMetric() -
GuardrailMetric
-
-
Method Details
-
metricId
-
getMetricId
The metric ID to monitor.- Returns:
- metricId
-
setMetricId
-
triggerAction
-
getTriggerAction
Action to perform when a guardrail threshold is triggered.- Returns:
- triggerAction
-
setTriggerAction
-
triggeredBy
-
getTriggeredBy
The signal or system that triggered the action.- Returns:
- triggeredBy
-
getTriggeredBy_JsonNullable
-
setTriggeredBy_JsonNullable
public void setTriggeredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> triggeredBy) -
setTriggeredBy
-
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:
- GuardrailMetric
-
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 GuardrailMetric object is equal to o. -
hashCode
public int hashCode() -
toString
-