Package com.datadog.api.client.v1.model
Class WidgetMarker
java.lang.Object
com.datadog.api.client.v1.model.WidgetMarker
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetMarker
extends Object
Markers allow you to add visual conditional formatting for your graphs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayType(String displayType) booleanReturn true if this WidgetMarker object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Combination of: - A severity error, warning, ok, or info - A line type: dashed, solid, or bold In this case of a Distribution widget, this can be set to bepercentile.getLabel()Label to display over the marker.getTime()Timestamp for the widget.getValue()Value to apply.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayType(String displayType) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_TYPE
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_TIME
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
WidgetMarker
public WidgetMarker() -
WidgetMarker
-
-
Method Details
-
displayType
-
getDisplayType
Combination of: - A severity error, warning, ok, or info - A line type: dashed, solid, or bold In this case of a Distribution widget, this can be set to bepercentile.- Returns:
- displayType
-
setDisplayType
-
label
-
getLabel
Label to display over the marker.- Returns:
- label
-
setLabel
-
time
-
getTime
Timestamp for the widget.- Returns:
- time
-
setTime
-
value
-
getValue
Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10. For Distribution widgets withdisplay_typeset topercentile, this should be a numeric percentile value (for example, "90" for P90).- Returns:
- value
-
setValue
-
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:
- WidgetMarker
-
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 WidgetMarker object is equal to o. -
hashCode
public int hashCode() -
toString
-