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 Details

  • Constructor Details

    • HostMapWidgetFormula

      public HostMapWidgetFormula()
    • HostMapWidgetFormula

      public HostMapWidgetFormula(HostMapWidgetDimension dimension, String formula)
  • Method Details

    • alias

      public HostMapWidgetFormula alias(String alias)
    • getAlias

      @Nullable public String getAlias()
      Expression alias.
      Returns:
      alias
    • setAlias

      public void setAlias(String alias)
    • dimension

      public HostMapWidgetFormula dimension(HostMapWidgetDimension dimension)
    • getDimension

      public HostMapWidgetDimension getDimension()
      Visual dimension for the host map widget. Used both by infrastructure-backed formulas and by DDSQL projection columns; group is only meaningful for DDSQL projection columns, where repeated entries define the grouping hierarchy.
      Returns:
      dimension
    • setDimension

      public void setDimension(HostMapWidgetDimension dimension)
    • formula

      public HostMapWidgetFormula formula(String formula)
    • getFormula

      public String getFormula()
      String expression built from queries, formulas, and functions.
      Returns:
      formula
    • setFormula

      public void setFormula(String formula)
    • numberFormat

      public HostMapWidgetFormula numberFormat(WidgetNumberFormat numberFormat)
    • getNumberFormat

      @Nullable public WidgetNumberFormat getNumberFormat()
      Number format options for the widget.
      Returns:
      numberFormat
    • setNumberFormat

      public void setNumberFormat(WidgetNumberFormat numberFormat)
    • putAdditionalProperty

      public HostMapWidgetFormula putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      HostMapWidgetFormula
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this HostMapWidgetFormula object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object