public class SyntheticsAlertCondition extends BaseCondition
Modifier and Type | Class and Description |
---|---|
static class |
SyntheticsAlertCondition.Builder
Builder to make Synthetics alert condition construction easier.
|
Constructor and Description |
---|
SyntheticsAlertCondition()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static SyntheticsAlertCondition.Builder |
builder()
Returns a builder for the Synthetics alert condition.
|
String |
getMonitorId()
Returns the monitor id of the alert condition.
|
void |
setMonitorId(String monitorId)
Sets the monitor id of the alert condition.
|
String |
toString()
Returns a string representation of the object.
|
getEnabled, getRunbookUrl, setEnabled, setRunbookUrl
getName, setName
getId, setId
public void setMonitorId(String monitorId)
monitorId
- The monitor id of the alert conditionpublic String getMonitorId()
public String toString()
toString
in class BaseCondition
public static SyntheticsAlertCondition.Builder builder()
Copyright © 2018. All rights reserved.