Package com.datadog.api.client.v1.model
Class TreeMapWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.TreeMapWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TreeMapWidgetDefinition
extends Object
The treemap visualization enables you to display hierarchical and nested data. It is well suited
for queries that describe part-whole relationships, such as resource usage by availability zone,
data center, or team.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTreeMapWidgetDefinition(List<TreeMapWidgetRequest> requests, TreeMapWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addRequestsItem(TreeMapWidgetRequest requestsItem) colorBy(TreeMapColorBy colorBy) customLinks(List<WidgetCustomLink> customLinks) description(String description) booleanReturn true if this TreeMapWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Deprecated.List of custom links.The description of the widget.Deprecated.List of treemap widget requests.Deprecated.getTime()Time setting for the widget.getTitle()Title of your widget.getType()Type of the treemap widget.groupBy(TreeMapGroupBy groupBy) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<TreeMapWidgetRequest> requests) voidsetColorBy(TreeMapColorBy colorBy) Deprecated.voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetDescription(String description) voidsetGroupBy(TreeMapGroupBy groupBy) Deprecated.voidsetRequests(List<TreeMapWidgetRequest> requests) voidsetSizeBy(TreeMapSizeBy sizeBy) Deprecated.voidsetTime(WidgetTime time) voidvoidsizeBy(TreeMapSizeBy sizeBy) time(WidgetTime time) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COLOR_BY
- See Also:
-
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_SIZE_BY
- See Also:
-
JSON_PROPERTY_TIME
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TreeMapWidgetDefinition
public TreeMapWidgetDefinition() -
TreeMapWidgetDefinition
public TreeMapWidgetDefinition(List<TreeMapWidgetRequest> requests, TreeMapWidgetDefinitionType type)
-
-
Method Details
-
colorBy
-
getColorBy
Deprecated.(deprecated) The attribute formerly used to determine color in the widget.- Returns:
- colorBy
-
setColorBy
Deprecated. -
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
groupBy
-
getGroupBy
Deprecated.(deprecated) The attribute formerly used to group elements in the widget.- Returns:
- groupBy
-
setGroupBy
Deprecated. -
requests
-
addRequestsItem
-
getRequests
List of treemap widget requests.- Returns:
- requests
-
setRequests
-
sizeBy
-
getSizeBy
Deprecated.(deprecated) The attribute formerly used to determine size in the widget.- Returns:
- sizeBy
-
setSizeBy
Deprecated. -
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
title
-
getTitle
Title of your widget.- Returns:
- title
-
setTitle
-
type
-
getType
Type of the treemap 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:
- TreeMapWidgetDefinition
-
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 TreeMapWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-