Package com.datadog.api.client.v2.model
Class MonitorTriggerWrapper
java.lang.Object
com.datadog.api.client.v2.model.MonitorTriggerWrapper
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorTriggerWrapper
extends Object
Schema for a Monitor-based trigger.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStartStepNamesItem(String startStepNamesItem) booleanReturn true if this MonitorTriggerWrapper object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Trigger a workflow from a Monitor.Names of existing workflow steps that run first after a trigger fires.inthashCode()monitorTrigger(MonitorTrigger monitorTrigger) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMonitorTrigger(MonitorTrigger monitorTrigger) voidsetStartStepNames(List<String> startStepNames) startStepNames(List<String> startStepNames) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MONITOR_TRIGGER
- See Also:
-
JSON_PROPERTY_START_STEP_NAMES
- See Also:
-
-
Constructor Details
-
MonitorTriggerWrapper
public MonitorTriggerWrapper() -
MonitorTriggerWrapper
-
-
Method Details
-
monitorTrigger
-
getMonitorTrigger
Trigger a workflow from a Monitor. For automatic triggering a handle must be configured and the workflow must be published.- Returns:
- monitorTrigger
-
setMonitorTrigger
-
startStepNames
-
addStartStepNamesItem
-
getStartStepNames
Names of existing workflow steps that run first after a trigger fires.- Returns:
- startStepNames
-
setStartStepNames
-
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:
- MonitorTriggerWrapper
-
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 MonitorTriggerWrapper object is equal to o. -
hashCode
public int hashCode() -
toString
-