Package com.datadog.api.client.v2.model
Class TriggerAttributes
java.lang.Object
com.datadog.api.client.v2.model.TriggerAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TriggerAttributes
extends Object
The trigger definition for starting an investigation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTriggerAttributes(MonitorAlertTriggerAttributes monitorAlertTrigger, TriggerType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this TriggerAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for a monitor alert trigger.getType()The type of trigger for the investigation.inthashCode()monitorAlertTrigger(MonitorAlertTriggerAttributes monitorAlertTrigger) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMonitorAlertTrigger(MonitorAlertTriggerAttributes monitorAlertTrigger) voidsetType(TriggerType type) toString()type(TriggerType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MONITOR_ALERT_TRIGGER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TriggerAttributes
public TriggerAttributes() -
TriggerAttributes
-
-
Method Details
-
monitorAlertTrigger
-
getMonitorAlertTrigger
Attributes for a monitor alert trigger.- Returns:
- monitorAlertTrigger
-
setMonitorAlertTrigger
-
type
-
getType
The type of trigger for the investigation.- Returns:
- type
-
setType
-
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:
- TriggerAttributes
-
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 TriggerAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-