Package com.datadog.api.client.v1.model
Class HostMapWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.HostMapWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HostMapWidgetDefinition
extends Object
The host map widget graphs any metric across your hosts using the same visualization available
from the main Host Map page.
-
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 Stringboolean -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addGroupItem(String groupItem) addScopeItem(String scopeItem) customLinks(List<WidgetCustomLink> customLinks) description(String description) booleanReturn true if this HostMapWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of custom links.The description of the widget.getGroup()Deprecated.Which type of node to use in the map.Deprecated.Deprecated.getNotes()Notes on the title.Query definition for the host map widget.getScope()Deprecated.getStyle()Deprecated.getTitle()Title of the widget.How to align the text on the widget.Size of the title.getType()Type of the host map widget.inthashCode()nodeType(WidgetNodeType nodeType) noGroupHosts(Boolean noGroupHosts) noMetricHosts(Boolean noMetricHosts) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(HostMapWidgetDefinitionRequests requests) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetDescription(String description) voidDeprecated.voidsetNodeType(WidgetNodeType nodeType) voidsetNoGroupHosts(Boolean noGroupHosts) Deprecated.voidsetNoMetricHosts(Boolean noMetricHosts) Deprecated.voidvoidsetRequests(HostMapWidgetDefinitionRequests requests) voidDeprecated.voidDeprecated.voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidtitleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_NO_GROUP_HOSTS
- See Also:
-
JSON_PROPERTY_NO_METRIC_HOSTS
- See Also:
-
JSON_PROPERTY_NODE_TYPE
- See Also:
-
JSON_PROPERTY_NOTES
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_STYLE
- 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
-
HostMapWidgetDefinition
public HostMapWidgetDefinition() -
HostMapWidgetDefinition
public HostMapWidgetDefinition(HostMapWidgetDefinitionRequests requests, HostMapWidgetDefinitionType type)
-
-
Method Details
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
group
-
addGroupItem
-
getGroup
Deprecated.Deprecated - Only used by the legacy metric-based format. Usegroup_by(infrastructure) or agroupdimension (DDSQL) insiderequestsinstead.- Returns:
- group
-
setGroup
Deprecated. -
noGroupHosts
-
getNoGroupHosts
Deprecated.Deprecated - Only used by the legacy metric-based format. Useno_group_hostsinsiderequestsinstead.- Returns:
- noGroupHosts
-
setNoGroupHosts
Deprecated. -
noMetricHosts
-
getNoMetricHosts
Deprecated.Deprecated - Only used by the legacy metric-based format. Useno_metric_hostsinsiderequestsinstead.- Returns:
- noMetricHosts
-
setNoMetricHosts
Deprecated. -
nodeType
-
getNodeType
Which type of node to use in the map.- Returns:
- nodeType
-
setNodeType
-
notes
-
getNotes
Notes on the title.- Returns:
- notes
-
setNotes
-
requests
-
getRequests
Query definition for the host map widget. Supports three mutually exclusive formats distinguished byrequest_type: the deprecated legacy metric-based format (fill/size, norequest_type), the infrastructure-backed format (request_type: infrastructure_hostmap), and the DDSQL published-dataset format (request_type: data_projection).- Returns:
- requests
-
setRequests
-
scope
-
addScopeItem
-
getScope
Deprecated.Deprecated - Only used by the legacy metric-based format. Usefilterinsiderequestsinstead.- Returns:
- scope
-
setScope
Deprecated. -
style
-
getStyle
Deprecated.Deprecated - The style to apply to the legacy metric-based host map widget. UseHostMapWidgetInfrastructureStyleinstead.- Returns:
- style
-
setStyle
Deprecated. -
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 host map 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:
- HostMapWidgetDefinition
-
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 HostMapWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-