Class GovernanceInsightQueryConfig

java.lang.Object
com.datadog.api.client.v2.model.GovernanceInsightQueryConfig

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GovernanceInsightQueryConfig extends Object
Query execution context for running insight queries directly.
  • Field Details

  • Constructor Details

    • GovernanceInsightQueryConfig

      public GovernanceInsightQueryConfig()
    • GovernanceInsightQueryConfig

      public GovernanceInsightQueryConfig(String comparisonShift, Long effectiveTimeWindowDays)
  • Method Details

    • chartType

      public GovernanceInsightQueryConfig chartType(String chartType)
    • getChartType

      @Nullable public String getChartType()
      The chart type used to render the insight.
      Returns:
      chartType
    • setChartType

      public void setChartType(String chartType)
    • comparisonShift

      public GovernanceInsightQueryConfig comparisonShift(String comparisonShift)
    • getComparisonShift

      public String getComparisonShift()
      The window used for the previous value comparison; for example, week or month.
      Returns:
      comparisonShift
    • setComparisonShift

      public void setComparisonShift(String comparisonShift)
    • defaultValue

      public GovernanceInsightQueryConfig defaultValue(Long defaultValue)
    • getDefaultValue

      @Nullable public Long getDefaultValue()
      The default value to display when no data is available.
      Returns:
      defaultValue
    • setDefaultValue

      public void setDefaultValue(Long defaultValue)
    • directionality

      public GovernanceInsightQueryConfig directionality(GovernanceInsightDirectionality directionality)
    • getDirectionality

      @Nullable public GovernanceInsightDirectionality getDirectionality()
      Whether an increase in the insight's value is good, bad, or neutral.
      Returns:
      directionality
    • setDirectionality

      public void setDirectionality(GovernanceInsightDirectionality directionality)
    • effectiveTimeWindowDays

      public GovernanceInsightQueryConfig effectiveTimeWindowDays(Long effectiveTimeWindowDays)
    • getEffectiveTimeWindowDays

      public Long getEffectiveTimeWindowDays()
      The number of days the insight value is computed over.
      Returns:
      effectiveTimeWindowDays
    • setEffectiveTimeWindowDays

      public void setEffectiveTimeWindowDays(Long effectiveTimeWindowDays)
    • putAdditionalProperty

      public GovernanceInsightQueryConfig 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:
      GovernanceInsightQueryConfig
    • 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 GovernanceInsightQueryConfig 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