Package com.datadog.api.client.v1.model
Class HostMapWidgetDefinitionRequests
java.lang.Object
com.datadog.api.client.v1.model.HostMapWidgetDefinitionRequests
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HostMapWidgetDefinitionRequests
extends Object
Query definition for the host map widget. Supports three mutually exclusive formats distinguished
by
request_type: the deprecated legacy metric-based format (fill/
size, no request_type), the infrastructure-backed format (
request_type: infrastructure_hostmap), and the DDSQL published-dataset format (
request_type: data_projection).-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionalFormatsItem(WidgetConditionalFormat conditionalFormatsItem) addEnrichmentsItem(HostMapWidgetScalarRequest enrichmentsItem) addGroupByItem(HostMapWidgetGroupBy groupByItem) conditionalFormats(List<WidgetConditionalFormat> conditionalFormats) enrichments(List<HostMapWidgetScalarRequest> enrichments) booleanReturn true if this HostMapWidgetDefinitionRequests object is equal to o.fill(HostMapRequest fill) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getChild()Infrastructure-backed request for the host map widget.List of conditional formatting rules applied to fill values.Metric or event queries joined to the entity set.getFill()Deprecated.Filter string for the entity set in tag format (for example,env:prod).Defines how entities are grouped into tiles.getLimit()Maximum number of rows to return from the dataset query.Which type of infrastructure entity to visualize in the host map.Whether to hide entities that have no group assignment.Whether to hide entities that have no enrichment data.Projection for the DDSQL host map request.getQuery()Query that lists the rows of a published dataset (a DDSQL query) without aggregation.Identifies which host map request format the sibling fields onHostMapWidgetDefinitionRequestsdescribe: an infrastructure-backed request or a DDSQL published-dataset request.getSize()Deprecated.getStyle()Style configuration for the infrastructure host map.groupBy(List<HostMapWidgetGroupBy> groupBy) inthashCode()nodeType(HostMapWidgetNodeType nodeType) noGroupHosts(Boolean noGroupHosts) noMetricHosts(Boolean noMetricHosts) projection(HostMapWidgetProjection projection) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.query(DatasetListQuery query) requestType(HostMapWidgetDefinitionRequestType requestType) voidvoidsetConditionalFormats(List<WidgetConditionalFormat> conditionalFormats) voidsetEnrichments(List<HostMapWidgetScalarRequest> enrichments) voidsetFill(HostMapRequest fill) Deprecated.voidvoidsetGroupBy(List<HostMapWidgetGroupBy> groupBy) voidvoidsetNodeType(HostMapWidgetNodeType nodeType) voidsetNoGroupHosts(Boolean noGroupHosts) voidsetNoMetricHosts(Boolean noMetricHosts) voidsetProjection(HostMapWidgetProjection projection) voidsetQuery(DatasetListQuery query) voidsetRequestType(HostMapWidgetDefinitionRequestType requestType) voidsetSize(HostMapRequest size) Deprecated.voidsize(HostMapRequest size) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHILD
- See Also:
-
JSON_PROPERTY_CONDITIONAL_FORMATS
- See Also:
-
JSON_PROPERTY_ENRICHMENTS
- See Also:
-
JSON_PROPERTY_FILL
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_NO_GROUP_HOSTS
- See Also:
-
JSON_PROPERTY_NO_METRIC_HOSTS
- See Also:
-
JSON_PROPERTY_NODE_TYPE
- See Also:
-
JSON_PROPERTY_PROJECTION
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_REQUEST_TYPE
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_STYLE
- See Also:
-
-
Constructor Details
-
HostMapWidgetDefinitionRequests
public HostMapWidgetDefinitionRequests()
-
-
Method Details
-
child
-
getChild
Infrastructure-backed request for the host map widget. Supports entity-based visualization with metric query enrichments, tag-based filtering, flexible grouping, and hierarchical views.- Returns:
- child
-
setChild
-
conditionalFormats
public HostMapWidgetDefinitionRequests conditionalFormats(List<WidgetConditionalFormat> conditionalFormats) -
addConditionalFormatsItem
public HostMapWidgetDefinitionRequests addConditionalFormatsItem(WidgetConditionalFormat conditionalFormatsItem) -
getConditionalFormats
List of conditional formatting rules applied to fill values.- Returns:
- conditionalFormats
-
setConditionalFormats
-
enrichments
-
addEnrichmentsItem
public HostMapWidgetDefinitionRequests addEnrichmentsItem(HostMapWidgetScalarRequest enrichmentsItem) -
getEnrichments
Metric or event queries joined to the entity set. Each formula specifies a visual dimension. Only used by the infrastructure-backed format.- Returns:
- enrichments
-
setEnrichments
-
fill
-
getFill
Deprecated.Deprecated - Legacy metric-based host map request. Use the infrastructure-backed (request_type: infrastructure_hostmap) or DDSQL (request_type: data_projection) format instead.- Returns:
- fill
-
setFill
Deprecated. -
filter
-
getFilter
Filter string for the entity set in tag format (for example,env:prod). Only used by the infrastructure-backed format.- Returns:
- filter
-
setFilter
-
groupBy
-
addGroupByItem
-
getGroupBy
Defines how entities are grouped into tiles. The ordering of entries implies the grouping hierarchy. Only used by the infrastructure-backed format.- Returns:
- groupBy
-
setGroupBy
-
limit
-
getLimit
Maximum number of rows to return from the dataset query. Only used by the DDSQL format.- Returns:
- limit
-
setLimit
-
noGroupHosts
-
getNoGroupHosts
Whether to hide entities that have no group assignment.- Returns:
- noGroupHosts
-
setNoGroupHosts
-
noMetricHosts
-
getNoMetricHosts
Whether to hide entities that have no enrichment data.- Returns:
- noMetricHosts
-
setNoMetricHosts
-
nodeType
-
getNodeType
Which type of infrastructure entity to visualize in the host map.- Returns:
- nodeType
-
setNodeType
-
projection
-
getProjection
Projection for the DDSQL host map request. Maps dataset columns to map dimensions:nodeidentifies the entity, repeatedgroupentries define the grouping hierarchy (outermost first), andfill/sizedrive the tile color and size.- Returns:
- projection
-
setProjection
-
query
-
getQuery
Query that lists the rows of a published dataset (a DDSQL query) without aggregation.- Returns:
- query
-
setQuery
-
requestType
-
getRequestType
Identifies which host map request format the sibling fields onHostMapWidgetDefinitionRequestsdescribe: an infrastructure-backed request or a DDSQL published-dataset request.- Returns:
- requestType
-
setRequestType
-
size
-
getSize
Deprecated.Deprecated - Legacy metric-based host map request. Use the infrastructure-backed (request_type: infrastructure_hostmap) or DDSQL (request_type: data_projection) format instead.- Returns:
- size
-
setSize
Deprecated. -
style
-
getStyle
Style configuration for the infrastructure host map.- Returns:
- style
-
setStyle
-
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:
- HostMapWidgetDefinitionRequests
-
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 HostMapWidgetDefinitionRequests object is equal to o. -
hashCode
public int hashCode() -
toString
-