@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AlertGraphWidgetDefinition extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALERT_ID |
static String |
JSON_PROPERTY_TIME |
static String |
JSON_PROPERTY_TITLE |
static String |
JSON_PROPERTY_TITLE_ALIGN |
static String |
JSON_PROPERTY_TITLE_SIZE |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VIZ_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AlertGraphWidgetDefinition() |
AlertGraphWidgetDefinition(String alertId,
AlertGraphWidgetDefinitionType type,
WidgetVizType vizType) |
| Modifier and Type | Method and Description |
|---|---|
AlertGraphWidgetDefinition |
alertId(String alertId) |
boolean |
equals(Object o)
Return true if this AlertGraphWidgetDefinition 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 |
getAlertId()
ID of the alert to use in the widget.
|
WidgetTime |
getTime()
Time setting for the widget.
|
String |
getTitle()
The title of the widget.
|
WidgetTextAlign |
getTitleAlign()
How to align the text on the widget.
|
String |
getTitleSize()
Size of the title.
|
AlertGraphWidgetDefinitionType |
getType()
Type of the alert graph widget.
|
WidgetVizType |
getVizType()
Whether to display the Alert Graph as a timeseries or a top list.
|
int |
hashCode() |
AlertGraphWidgetDefinition |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAlertId(String alertId) |
void |
setTime(WidgetTime time) |
void |
setTitle(String title) |
void |
setTitleAlign(WidgetTextAlign titleAlign) |
void |
setTitleSize(String titleSize) |
void |
setType(AlertGraphWidgetDefinitionType type) |
void |
setVizType(WidgetVizType vizType) |
AlertGraphWidgetDefinition |
time(WidgetTime time) |
AlertGraphWidgetDefinition |
title(String title) |
AlertGraphWidgetDefinition |
titleAlign(WidgetTextAlign titleAlign) |
AlertGraphWidgetDefinition |
titleSize(String titleSize) |
String |
toString() |
AlertGraphWidgetDefinition |
type(AlertGraphWidgetDefinitionType type) |
AlertGraphWidgetDefinition |
vizType(WidgetVizType vizType) |
public boolean unparsed
public static final String JSON_PROPERTY_ALERT_ID
public static final String JSON_PROPERTY_TIME
public static final String JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_TITLE_ALIGN
public static final String JSON_PROPERTY_TITLE_SIZE
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VIZ_TYPE
public AlertGraphWidgetDefinition()
public AlertGraphWidgetDefinition(String alertId, AlertGraphWidgetDefinitionType type, WidgetVizType vizType)
public AlertGraphWidgetDefinition alertId(String alertId)
public String getAlertId()
public void setAlertId(String alertId)
public AlertGraphWidgetDefinition time(WidgetTime time)
@Nullable public WidgetTime getTime()
public void setTime(WidgetTime time)
public AlertGraphWidgetDefinition title(String title)
@Nullable public String getTitle()
public void setTitle(String title)
public AlertGraphWidgetDefinition titleAlign(WidgetTextAlign titleAlign)
@Nullable public WidgetTextAlign getTitleAlign()
public void setTitleAlign(WidgetTextAlign titleAlign)
public AlertGraphWidgetDefinition titleSize(String titleSize)
@Nullable public String getTitleSize()
public void setTitleSize(String titleSize)
public AlertGraphWidgetDefinition type(AlertGraphWidgetDefinitionType type)
public AlertGraphWidgetDefinitionType getType()
public void setType(AlertGraphWidgetDefinitionType type)
public AlertGraphWidgetDefinition vizType(WidgetVizType vizType)
public WidgetVizType getVizType()
public void setVizType(WidgetVizType vizType)
public AlertGraphWidgetDefinition 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 © 2024. All rights reserved.