Class PowerpackWidgetDefinition

java.lang.Object
com.datadog.api.client.v1.model.PowerpackWidgetDefinition

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PowerpackWidgetDefinition extends Object
The powerpack widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.
  • Field Details

  • Constructor Details

    • PowerpackWidgetDefinition

      public PowerpackWidgetDefinition()
    • PowerpackWidgetDefinition

      public PowerpackWidgetDefinition(String powerpackId, PowerpackWidgetDefinitionType type)
  • Method Details

    • backgroundColor

      public PowerpackWidgetDefinition backgroundColor(String backgroundColor)
    • getBackgroundColor

      @Nullable public String getBackgroundColor()
      Background color of the powerpack title.
      Returns:
      backgroundColor
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
    • bannerImg

      public PowerpackWidgetDefinition bannerImg(String bannerImg)
    • getBannerImg

      @Nullable public String getBannerImg()
      URL of image to display as a banner for the powerpack.
      Returns:
      bannerImg
    • setBannerImg

      public void setBannerImg(String bannerImg)
    • powerpackId

      public PowerpackWidgetDefinition powerpackId(String powerpackId)
    • getPowerpackId

      public String getPowerpackId()
      UUID of the associated powerpack.
      Returns:
      powerpackId
    • setPowerpackId

      public void setPowerpackId(String powerpackId)
    • showTitle

      public PowerpackWidgetDefinition showTitle(Boolean showTitle)
    • getShowTitle

      @Nullable public Boolean getShowTitle()
      Whether to show the title or not.
      Returns:
      showTitle
    • setShowTitle

      public void setShowTitle(Boolean showTitle)
    • templateVariables

      public PowerpackWidgetDefinition templateVariables(PowerpackTemplateVariables templateVariables)
    • getTemplateVariables

      @Nullable public PowerpackTemplateVariables getTemplateVariables()
      Powerpack template variables.
      Returns:
      templateVariables
    • setTemplateVariables

      public void setTemplateVariables(PowerpackTemplateVariables templateVariables)
    • title

      public PowerpackWidgetDefinition title(String title)
    • getTitle

      @Nullable public String getTitle()
      Title of the widget.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • type

    • getType

      Type of the powerpack widget.
      Returns:
      type
    • setType

      public void setType(PowerpackWidgetDefinitionType type)
    • putAdditionalProperty

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