Package com.datadog.api.client.v1.model
Class DistributionWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.DistributionWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DistributionWidgetDefinition
extends Object
The Distribution visualization is another way of showing metrics aggregated across one or several
tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than
time.
-
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 Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionDistributionWidgetDefinition(List<DistributionWidgetRequest> requests, DistributionWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addMarkersItem(WidgetMarker markersItem) addRequestsItem(DistributionWidgetRequest requestsItem) customLinks(List<WidgetCustomLink> customLinks) description(String description) booleanReturn true if this DistributionWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of custom links.The description of the widget.Deprecated.List of markers.Array of one request object to display in the widget.Deprecated.getTime()Time setting for the widget.getTitle()Title of the widget.How to align the text on the widget.Size of the title.getType()Type of the distribution widget.getXaxis()X Axis controls for the distribution widget.getYaxis()Y Axis controls for the distribution widget.inthashCode()legendSize(String legendSize) markers(List<WidgetMarker> markers) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<DistributionWidgetRequest> requests) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetDescription(String description) voidsetLegendSize(String legendSize) Deprecated.voidsetMarkers(List<WidgetMarker> markers) voidsetRequests(List<DistributionWidgetRequest> requests) voidsetShowLegend(Boolean showLegend) Deprecated.voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidvoidsetXaxis(DistributionWidgetXAxis xaxis) voidsetYaxis(DistributionWidgetYAxis yaxis) showLegend(Boolean showLegend) time(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()xaxis(DistributionWidgetXAxis xaxis) yaxis(DistributionWidgetYAxis yaxis)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LEGEND_SIZE
- See Also:
-
JSON_PROPERTY_MARKERS
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_SHOW_LEGEND
- See Also:
-
JSON_PROPERTY_TIME
- 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_XAXIS
- See Also:
-
JSON_PROPERTY_YAXIS
- See Also:
-
-
Constructor Details
-
DistributionWidgetDefinition
public DistributionWidgetDefinition() -
DistributionWidgetDefinition
public DistributionWidgetDefinition(List<DistributionWidgetRequest> requests, DistributionWidgetDefinitionType type)
-
-
Method Details
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
A list of custom links.- Returns:
- customLinks
-
setCustomLinks
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
legendSize
-
getLegendSize
Deprecated.(Deprecated) The widget legend was replaced by a tooltip and sidebar.- Returns:
- legendSize
-
setLegendSize
Deprecated. -
markers
-
addMarkersItem
-
getMarkers
List of markers.- Returns:
- markers
-
setMarkers
-
requests
-
addRequestsItem
-
getRequests
Array of one request object to display in the widget.See the dedicated Request JSON schema documentation to learn how to build the
REQUEST_SCHEMA.- Returns:
- requests
-
setRequests
-
showLegend
-
getShowLegend
Deprecated.(Deprecated) The widget legend was replaced by a tooltip and sidebar.- Returns:
- showLegend
-
setShowLegend
Deprecated. -
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
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 distribution widget.- Returns:
- type
-
setType
-
xaxis
-
getXaxis
X Axis controls for the distribution widget.- Returns:
- xaxis
-
setXaxis
-
yaxis
-
getYaxis
Y Axis controls for the distribution widget.- Returns:
- yaxis
-
setYaxis
-
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:
- DistributionWidgetDefinition
-
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 DistributionWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-