public class ApmKeyTransactionAlertCondition extends AlertCondition
Modifier and Type | Class and Description |
---|---|
static class |
ApmKeyTransactionAlertCondition.Builder
Builder to make alert condition construction easier.
|
static class |
ApmKeyTransactionAlertCondition.Metric
Represents the metric types for this condition type.
|
AlertCondition.ConditionScope, AlertCondition.ConditionType, AlertCondition.ViolationCloseTimerInterval
Modifier and Type | Field and Description |
---|---|
static AlertCondition.ConditionType |
TYPE
The type of the alert condition.
|
Constructor and Description |
---|
ApmKeyTransactionAlertCondition()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static ApmKeyTransactionAlertCondition.Builder |
builder()
Returns a builder for the alert condition.
|
void |
setMetric(ApmKeyTransactionAlertCondition.Metric metric)
Sets the metric of the alert condition.
|
String |
toString()
Returns a string representation of the object.
|
getConditionScope, getGcMetric, getType, getUserDefined, getViolationCloseTimer, setConditionScope, setConditionScope, setGcMetric, setType, setUserDefined, setViolationCloseTimer, setViolationCloseTimer
addEntity, getEntities, getEntitiesArray, getMetric, setEntities, setMetric
addTerm, getTerms, setTerms
getEnabled, getRunbookUrl, setEnabled, setRunbookUrl
getName, setName
getId, setId
public static final AlertCondition.ConditionType TYPE
public ApmKeyTransactionAlertCondition()
public void setMetric(ApmKeyTransactionAlertCondition.Metric metric)
metric
- The metric of the alert conditionpublic String toString()
toString
in class AlertCondition
public static ApmKeyTransactionAlertCondition.Builder builder()
Copyright © 2018. All rights reserved.