Package com.datadog.api.client.v1.model
Class HostMapWidgetFormula
java.lang.Object
com.datadog.api.client.v1.model.HostMapWidgetFormula
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HostMapWidgetFormula
extends Object
Formula for the infrastructure host map widget that specifies both the expression and the visual
dimension it populates.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondimension(HostMapWidgetDimension dimension) booleanReturn true if this HostMapWidgetFormula object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAlias()Expression alias.Visual dimension for the host map widget.String expression built from queries, formulas, and functions.Number format options for the widget.inthashCode()numberFormat(WidgetNumberFormat numberFormat) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetDimension(HostMapWidgetDimension dimension) voidsetFormula(String formula) voidsetNumberFormat(WidgetNumberFormat numberFormat) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALIAS
- See Also:
-
JSON_PROPERTY_DIMENSION
- See Also:
-
JSON_PROPERTY_FORMULA
- See Also:
-
JSON_PROPERTY_NUMBER_FORMAT
- See Also:
-
-
Constructor Details
-
HostMapWidgetFormula
public HostMapWidgetFormula() -
HostMapWidgetFormula
-
-
Method Details
-
alias
-
getAlias
Expression alias.- Returns:
- alias
-
setAlias
-
dimension
-
getDimension
Visual dimension for the host map widget. Used both by infrastructure-backed formulas and by DDSQL projection columns;groupis only meaningful for DDSQL projection columns, where repeated entries define the grouping hierarchy.- Returns:
- dimension
-
setDimension
-
formula
-
getFormula
String expression built from queries, formulas, and functions.- Returns:
- formula
-
setFormula
-
numberFormat
-
getNumberFormat
Number format options for the widget.- Returns:
- numberFormat
-
setNumberFormat
-
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:
- HostMapWidgetFormula
-
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 HostMapWidgetFormula object is equal to o. -
hashCode
public int hashCode() -
toString
-