Package com.datadog.api.client.v1.model
Class MonitorSummaryWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.MonitorSummaryWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorSummaryWidgetDefinition
extends Object
The monitor summary widget displays a summary view of all your Datadog monitors, or a subset
based on a query.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncolorPreference(WidgetColorPreference colorPreference) description(String description) displayFormat(WidgetMonitorSummaryDisplayFormat displayFormat) booleanReturn true if this MonitorSummaryWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Which color to use on the widget.getCount()Deprecated.The description of the widget.What to display on the widget.Whether to show counts of 0 or not.getQuery()Query to filter the monitors with.Whether to show the time that has elapsed since the monitor/group triggered.Whether to show the priorities column.getSort()Widget sorting methods.getStart()Deprecated.Which summary type should be used.getTitle()Title of the widget.How to align the text on the widget.Size of the title.getType()Type of the monitor summary widget.inthashCode()hideZeroCounts(Boolean hideZeroCounts) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetColorPreference(WidgetColorPreference colorPreference) voidDeprecated.voidsetDescription(String description) voidsetDisplayFormat(WidgetMonitorSummaryDisplayFormat displayFormat) voidsetHideZeroCounts(Boolean hideZeroCounts) voidvoidsetShowLastTriggered(Boolean showLastTriggered) voidsetShowPriority(Boolean showPriority) voidvoidDeprecated.voidsetSummaryType(WidgetSummaryType summaryType) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidshowLastTriggered(Boolean showLastTriggered) showPriority(Boolean showPriority) sort(WidgetMonitorSummarySort sort) summaryType(WidgetSummaryType summaryType) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COLOR_PREFERENCE
- See Also:
-
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_FORMAT
- See Also:
-
JSON_PROPERTY_HIDE_ZERO_COUNTS
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SHOW_LAST_TRIGGERED
- See Also:
-
JSON_PROPERTY_SHOW_PRIORITY
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_SUMMARY_TYPE
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TITLE_ALIGN
- See Also:
-
JSON_PROPERTY_TITLE_SIZE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
MonitorSummaryWidgetDefinition
public MonitorSummaryWidgetDefinition() -
MonitorSummaryWidgetDefinition
-
-
Method Details
-
colorPreference
-
getColorPreference
Which color to use on the widget.- Returns:
- colorPreference
-
setColorPreference
-
count
-
getCount
Deprecated.The number of monitors to display.- Returns:
- count
-
setCount
Deprecated. -
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
displayFormat
public MonitorSummaryWidgetDefinition displayFormat(WidgetMonitorSummaryDisplayFormat displayFormat) -
getDisplayFormat
What to display on the widget.- Returns:
- displayFormat
-
setDisplayFormat
-
hideZeroCounts
-
getHideZeroCounts
Whether to show counts of 0 or not.- Returns:
- hideZeroCounts
-
setHideZeroCounts
-
query
-
getQuery
Query to filter the monitors with.- Returns:
- query
-
setQuery
-
showLastTriggered
-
getShowLastTriggered
Whether to show the time that has elapsed since the monitor/group triggered.- Returns:
- showLastTriggered
-
setShowLastTriggered
-
showPriority
-
getShowPriority
Whether to show the priorities column.- Returns:
- showPriority
-
setShowPriority
-
sort
-
getSort
Widget sorting methods.- Returns:
- sort
-
setSort
-
start
-
getStart
Deprecated.The start of the list. Typically 0.- Returns:
- start
-
setStart
Deprecated. -
summaryType
-
getSummaryType
Which summary type should be used.- Returns:
- summaryType
-
setSummaryType
-
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 the title.- Returns:
- titleSize
-
setTitleSize
-
type
-
getType
Type of the monitor summary widget.- 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:
- MonitorSummaryWidgetDefinition
-
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 MonitorSummaryWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-