Package com.datadog.api.client.v1.model
Class ToplistWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.ToplistWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ToplistWidgetDefinition
extends Object
The top list visualization enables you to display a list of Tag value like hostname or service
with the most or least of any metric value, such as highest consumers of CPU, hosts with the
least disk space, etc.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionToplistWidgetDefinition(List<ToplistWidgetRequest> requests, ToplistWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addRequestsItem(ToplistWidgetRequest requestsItem) customLinks(List<WidgetCustomLink> customLinks) description(String description) booleanReturn true if this ToplistWidgetDefinition 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.List of top list widget requests.getStyle()Style customization for a top list widget.getTime()Time setting for the widget.getTitle()Title of your widget.How to align the text on the widget.Size of the title.getType()Type of the top list widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<ToplistWidgetRequest> requests) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetDescription(String description) voidsetRequests(List<ToplistWidgetRequest> requests) voidsetStyle(ToplistWidgetStyle style) voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidstyle(ToplistWidgetStyle style) time(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_STYLE
- 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:
-
-
Constructor Details
-
ToplistWidgetDefinition
public ToplistWidgetDefinition() -
ToplistWidgetDefinition
public ToplistWidgetDefinition(List<ToplistWidgetRequest> requests, ToplistWidgetDefinitionType type)
-
-
Method Details
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
requests
-
addRequestsItem
-
getRequests
List of top list widget requests.- Returns:
- requests
-
setRequests
-
style
-
getStyle
Style customization for a top list widget.- Returns:
- style
-
setStyle
-
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
title
-
getTitle
Title of your 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 top list 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:
- ToplistWidgetDefinition
-
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 ToplistWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-