@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GuardrailMetric extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_METRIC_ID |
static String |
JSON_PROPERTY_TRIGGER_ACTION |
static String |
JSON_PROPERTY_TRIGGERED_BY |
boolean |
unparsed |
| Constructor and Description |
|---|
GuardrailMetric() |
GuardrailMetric(String metricId,
GuardrailTriggerAction triggerAction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this GuardrailMetric object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getMetricId()
The metric ID to monitor.
|
GuardrailTriggerAction |
getTriggerAction()
Action to perform when a guardrail threshold is triggered.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getTriggeredBy_JsonNullable() |
String |
getTriggeredBy()
The signal or system that triggered the action.
|
int |
hashCode() |
GuardrailMetric |
metricId(String metricId) |
GuardrailMetric |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setMetricId(String metricId) |
void |
setTriggerAction(GuardrailTriggerAction triggerAction) |
void |
setTriggeredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> triggeredBy) |
void |
setTriggeredBy(String triggeredBy) |
String |
toString() |
GuardrailMetric |
triggerAction(GuardrailTriggerAction triggerAction) |
GuardrailMetric |
triggeredBy(String triggeredBy) |
public boolean unparsed
public static final String JSON_PROPERTY_METRIC_ID
public static final String JSON_PROPERTY_TRIGGER_ACTION
public static final String JSON_PROPERTY_TRIGGERED_BY
public GuardrailMetric()
public GuardrailMetric(String metricId, GuardrailTriggerAction triggerAction)
public GuardrailMetric metricId(String metricId)
public String getMetricId()
public void setMetricId(String metricId)
public GuardrailMetric triggerAction(GuardrailTriggerAction triggerAction)
public GuardrailTriggerAction getTriggerAction()
public void setTriggerAction(GuardrailTriggerAction triggerAction)
public GuardrailMetric triggeredBy(String triggeredBy)
@Nullable public String getTriggeredBy()
public org.openapitools.jackson.nullable.JsonNullable<String> getTriggeredBy_JsonNullable()
public void setTriggeredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> triggeredBy)
public void setTriggeredBy(String triggeredBy)
public GuardrailMetric putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.