@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ControlNotificationTarget extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HANDLE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
ControlNotificationTarget() |
ControlNotificationTarget(String handle,
ControlNotificationTargetType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ControlNotificationTarget object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getHandle()
The destination handle, such as an email address, Slack channel, or user handle.
|
ControlNotificationTargetType |
getType()
The type of notification destination.
|
ControlNotificationTarget |
handle(String handle) |
int |
hashCode() |
ControlNotificationTarget |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setHandle(String handle) |
void |
setType(ControlNotificationTargetType type) |
String |
toString() |
ControlNotificationTarget |
type(ControlNotificationTargetType type) |
public boolean unparsed
public static final String JSON_PROPERTY_HANDLE
public static final String JSON_PROPERTY_TYPE
public ControlNotificationTarget()
public ControlNotificationTarget(String handle, ControlNotificationTargetType type)
public ControlNotificationTarget handle(String handle)
public String getHandle()
public void setHandle(String handle)
public ControlNotificationTarget type(ControlNotificationTargetType type)
public ControlNotificationTargetType getType()
public void setType(ControlNotificationTargetType type)
public ControlNotificationTarget 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.