Package com.datadog.api.client.v1.model
Class SLOWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.SLOWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOWidgetDefinition
extends Object
Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on
dashboards.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalQueryFilters(String additionalQueryFilters) addTimeWindowsItem(WidgetTimeWindows timeWindowsItem) description(String description) booleanReturn true if this SLOWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Additional filters applied to the SLO query.The description of the widget.Defined global time target.Defined error budget.getSloId()ID of the SLO displayed.Times being monitored.getTitle()Title of the widget.How to align the text on the widget.Size of the title.getType()Type of the SLO widget.Define how you want the SLO to be displayed.Type of view displayed by the widget.globalTimeTarget(String globalTimeTarget) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAdditionalQueryFilters(String additionalQueryFilters) voidsetDescription(String description) voidsetGlobalTimeTarget(String globalTimeTarget) voidsetShowErrorBudget(Boolean showErrorBudget) voidvoidsetTimeWindows(List<WidgetTimeWindows> timeWindows) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidvoidsetViewMode(WidgetViewMode viewMode) voidsetViewType(String viewType) showErrorBudget(Boolean showErrorBudget) timeWindows(List<WidgetTimeWindows> timeWindows) titleAlign(WidgetTextAlign titleAlign) toString()type(SLOWidgetDefinitionType type) viewMode(WidgetViewMode viewMode)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDITIONAL_QUERY_FILTERS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_GLOBAL_TIME_TARGET
- See Also:
-
JSON_PROPERTY_SHOW_ERROR_BUDGET
- See Also:
-
JSON_PROPERTY_SLO_ID
- See Also:
-
JSON_PROPERTY_TIME_WINDOWS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TITLE_ALIGN
- See Also:
-
JSON_PROPERTY_TITLE_SIZE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VIEW_MODE
- See Also:
-
JSON_PROPERTY_VIEW_TYPE
- See Also:
-
-
Constructor Details
-
SLOWidgetDefinition
public SLOWidgetDefinition() -
SLOWidgetDefinition
-
-
Method Details
-
additionalQueryFilters
-
getAdditionalQueryFilters
Additional filters applied to the SLO query.- Returns:
- additionalQueryFilters
-
setAdditionalQueryFilters
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
globalTimeTarget
-
getGlobalTimeTarget
Defined global time target.- Returns:
- globalTimeTarget
-
setGlobalTimeTarget
-
showErrorBudget
-
getShowErrorBudget
Defined error budget.- Returns:
- showErrorBudget
-
setShowErrorBudget
-
sloId
-
getSloId
ID of the SLO displayed.- Returns:
- sloId
-
setSloId
-
timeWindows
-
addTimeWindowsItem
-
getTimeWindows
Times being monitored.- Returns:
- timeWindows
-
setTimeWindows
-
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 SLO widget.- Returns:
- type
-
setType
-
viewMode
-
getViewMode
Define how you want the SLO to be displayed.- Returns:
- viewMode
-
setViewMode
-
viewType
-
getViewType
Type of view displayed by the widget.- Returns:
- viewType
-
setViewType
-
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:
- SLOWidgetDefinition
-
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 SLOWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-