Package com.datadog.api.client.v1.model
Class AlertValueWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.AlertValueWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AlertValueWidgetDefinition
extends Object
Alert values are query values showing the current value of the metric in any monitor defined on
your system.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlertValueWidgetDefinition(String alertId, AlertValueWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this AlertValueWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ID of the alert to use in the widget.The description of the widget.Number of decimal to show.How to align the text on the widget.getTitle()Title of the widget.How to align the text on the widget.Size of value in the widget.getType()Type of the alert value widget.getUnit()Unit to display with the value.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAlertId(String alertId) voidsetDescription(String description) voidsetPrecision(Long precision) voidsetTextAlign(WidgetTextAlign textAlign) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidvoidtextAlign(WidgetTextAlign textAlign) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALERT_ID
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_PRECISION
- See Also:
-
JSON_PROPERTY_TEXT_ALIGN
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TITLE_ALIGN
- See Also:
-
JSON_PROPERTY_TITLE_SIZE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
-
Constructor Details
-
AlertValueWidgetDefinition
public AlertValueWidgetDefinition() -
AlertValueWidgetDefinition
-
-
Method Details
-
alertId
-
getAlertId
ID of the alert to use in the widget.- Returns:
- alertId
-
setAlertId
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
precision
-
getPrecision
Number of decimal to show. If not defined, will use the raw value.- Returns:
- precision
-
setPrecision
-
textAlign
-
getTextAlign
How to align the text on the widget.- Returns:
- textAlign
-
setTextAlign
-
title
-
getTitle
Title of the widget.- Returns:
- title
-
setTitle
-
titleAlign
-
getTitleAlign
How to align the text on the widget.- Returns:
- titleAlign
-
setTitleAlign
-
titleSize
-
getTitleSize
Size of value in the widget.- Returns:
- titleSize
-
setTitleSize
-
type
-
getType
Type of the alert value widget.- Returns:
- type
-
setType
-
unit
-
getUnit
Unit to display with the value.- Returns:
- unit
-
setUnit
-
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:
- AlertValueWidgetDefinition
-
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 AlertValueWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-