Package com.datadog.api.client.v1.model
Class ServiceSummaryWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.ServiceSummaryWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceSummaryWidgetDefinition
extends Object
The service summary displays the graphs of a chosen service in your dashboard.
-
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 Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionServiceSummaryWidgetDefinition(String env, String service, String spanName, ServiceSummaryWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) displayFormat(WidgetServiceSummaryDisplayFormat displayFormat) booleanReturn true if this ServiceSummaryWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description of the widget.Number of columns to display.getEnv()APM environment.APM service.Whether to show the latency breakdown or not.Whether to show the latency distribution or not.Whether to show the error metrics or not.Whether to show the hits metrics or not.Whether to show the latency metrics or not.Whether to show the resource list or not.Size of the widget.APM span name.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 service summary widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetDisplayFormat(WidgetServiceSummaryDisplayFormat displayFormat) voidvoidsetService(String service) voidsetShowBreakdown(Boolean showBreakdown) voidsetShowDistribution(Boolean showDistribution) voidsetShowErrors(Boolean showErrors) voidsetShowHits(Boolean showHits) voidsetShowLatency(Boolean showLatency) voidsetShowResourceList(Boolean showResourceList) voidsetSizeFormat(WidgetSizeFormat sizeFormat) voidsetSpanName(String spanName) voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidshowBreakdown(Boolean showBreakdown) showDistribution(Boolean showDistribution) showErrors(Boolean showErrors) showLatency(Boolean showLatency) showResourceList(Boolean showResourceList) sizeFormat(WidgetSizeFormat sizeFormat) time(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISPLAY_FORMAT
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_SHOW_BREAKDOWN
- See Also:
-
JSON_PROPERTY_SHOW_DISTRIBUTION
- See Also:
-
JSON_PROPERTY_SHOW_ERRORS
- See Also:
-
JSON_PROPERTY_SHOW_HITS
- See Also:
-
JSON_PROPERTY_SHOW_LATENCY
- See Also:
-
JSON_PROPERTY_SHOW_RESOURCE_LIST
- See Also:
-
JSON_PROPERTY_SIZE_FORMAT
- See Also:
-
JSON_PROPERTY_SPAN_NAME
- 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
-
ServiceSummaryWidgetDefinition
public ServiceSummaryWidgetDefinition() -
ServiceSummaryWidgetDefinition
public ServiceSummaryWidgetDefinition(String env, String service, String spanName, ServiceSummaryWidgetDefinitionType type)
-
-
Method Details
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
displayFormat
public ServiceSummaryWidgetDefinition displayFormat(WidgetServiceSummaryDisplayFormat displayFormat) -
getDisplayFormat
Number of columns to display.- Returns:
- displayFormat
-
setDisplayFormat
-
env
-
getEnv
APM environment.- Returns:
- env
-
setEnv
-
service
-
getService
APM service.- Returns:
- service
-
setService
-
showBreakdown
-
getShowBreakdown
Whether to show the latency breakdown or not.- Returns:
- showBreakdown
-
setShowBreakdown
-
showDistribution
-
getShowDistribution
Whether to show the latency distribution or not.- Returns:
- showDistribution
-
setShowDistribution
-
showErrors
-
getShowErrors
Whether to show the error metrics or not.- Returns:
- showErrors
-
setShowErrors
-
showHits
-
getShowHits
Whether to show the hits metrics or not.- Returns:
- showHits
-
setShowHits
-
showLatency
-
getShowLatency
Whether to show the latency metrics or not.- Returns:
- showLatency
-
setShowLatency
-
showResourceList
-
getShowResourceList
Whether to show the resource list or not.- Returns:
- showResourceList
-
setShowResourceList
-
sizeFormat
-
getSizeFormat
Size of the widget.- Returns:
- sizeFormat
-
setSizeFormat
-
spanName
-
getSpanName
APM span name.- Returns:
- spanName
-
setSpanName
-
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 service summary 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:
- ServiceSummaryWidgetDefinition
-
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 ServiceSummaryWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-