@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ControlNotificationEventSetting extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_EVENT_TYPE |
static String |
JSON_PROPERTY_TARGETS |
boolean |
unparsed |
| Constructor and Description |
|---|
ControlNotificationEventSetting() |
ControlNotificationEventSetting(Boolean enabled,
String eventType,
List<ControlNotificationTarget> targets) |
| Modifier and Type | Method and Description |
|---|---|
ControlNotificationEventSetting |
addTargetsItem(ControlNotificationTarget targetsItem) |
ControlNotificationEventSetting |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this ControlNotificationEventSetting object is equal to o.
|
ControlNotificationEventSetting |
eventType(String eventType) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getEnabled()
Whether notifications are enabled for this event type.
|
String |
getEventType()
The event type the notification settings apply to, such as
new_detection. |
List<ControlNotificationTarget> |
getTargets()
The destinations that receive notifications for an event type.
|
int |
hashCode() |
ControlNotificationEventSetting |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEnabled(Boolean enabled) |
void |
setEventType(String eventType) |
void |
setTargets(List<ControlNotificationTarget> targets) |
ControlNotificationEventSetting |
targets(List<ControlNotificationTarget> targets) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_EVENT_TYPE
public static final String JSON_PROPERTY_TARGETS
public ControlNotificationEventSetting()
public ControlNotificationEventSetting(Boolean enabled, String eventType, List<ControlNotificationTarget> targets)
public ControlNotificationEventSetting enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public ControlNotificationEventSetting eventType(String eventType)
public String getEventType()
new_detection.public void setEventType(String eventType)
public ControlNotificationEventSetting targets(List<ControlNotificationTarget> targets)
public ControlNotificationEventSetting addTargetsItem(ControlNotificationTarget targetsItem)
public List<ControlNotificationTarget> getTargets()
public void setTargets(List<ControlNotificationTarget> targets)
public ControlNotificationEventSetting putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.