Package com.datadog.api.client.v2.model
Class SyntheticsTestOptionsMonitorOptions
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestOptionsMonitorOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestOptionsMonitorOptions
extends Object
Object containing the options for a Synthetic test as a monitor (for example, renotification).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestOptionsMonitorOptions object is equal to o.escalationMessage(String escalationMessage) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Message to include in the escalation notification.The name of the preset for the notification for the monitor.Time interval before renotifying if the test is still failing (in minutes).The number of times to renotify if the test is still failing.inthashCode()notificationPresetName(SyntheticsTestOptionsMonitorOptionsNotificationPresetName notificationPresetName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.renotifyInterval(Long renotifyInterval) renotifyOccurrences(Long renotifyOccurrences) voidsetEscalationMessage(String escalationMessage) voidsetNotificationPresetName(SyntheticsTestOptionsMonitorOptionsNotificationPresetName notificationPresetName) voidsetRenotifyInterval(Long renotifyInterval) voidsetRenotifyOccurrences(Long renotifyOccurrences) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ESCALATION_MESSAGE
- See Also:
-
JSON_PROPERTY_NOTIFICATION_PRESET_NAME
- See Also:
-
JSON_PROPERTY_RENOTIFY_INTERVAL
- See Also:
-
JSON_PROPERTY_RENOTIFY_OCCURRENCES
- See Also:
-
-
Constructor Details
-
SyntheticsTestOptionsMonitorOptions
public SyntheticsTestOptionsMonitorOptions()
-
-
Method Details
-
escalationMessage
-
getEscalationMessage
Message to include in the escalation notification.- Returns:
- escalationMessage
-
setEscalationMessage
-
notificationPresetName
public SyntheticsTestOptionsMonitorOptions notificationPresetName(SyntheticsTestOptionsMonitorOptionsNotificationPresetName notificationPresetName) -
getNotificationPresetName
@Nullable public SyntheticsTestOptionsMonitorOptionsNotificationPresetName getNotificationPresetName()The name of the preset for the notification for the monitor.- Returns:
- notificationPresetName
-
setNotificationPresetName
public void setNotificationPresetName(SyntheticsTestOptionsMonitorOptionsNotificationPresetName notificationPresetName) -
renotifyInterval
-
getRenotifyInterval
Time interval before renotifying if the test is still failing (in minutes). minimum: 0- Returns:
- renotifyInterval
-
setRenotifyInterval
-
renotifyOccurrences
-
getRenotifyOccurrences
The number of times to renotify if the test is still failing.- Returns:
- renotifyOccurrences
-
setRenotifyOccurrences
-
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:
- SyntheticsTestOptionsMonitorOptions
-
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 SyntheticsTestOptionsMonitorOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-