Class GroupWidgetDefinition

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

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

  • Constructor Details

  • Method Details

    • backgroundColor

      public GroupWidgetDefinition backgroundColor(String backgroundColor)
    • getBackgroundColor

      @Nullable public String getBackgroundColor()
      Background color of the widget. Supported values are white, blue, purple, pink, orange, yellow, green , gray, vivid_blue, vivid_purple, vivid_pink, vivid_orange, vivid_yellow, vivid_green , and transparent.
      Returns:
      backgroundColor
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
    • bannerImg

      public GroupWidgetDefinition bannerImg(String bannerImg)
    • getBannerImg

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

      public void setBannerImg(String bannerImg)
    • layoutType

      public GroupWidgetDefinition layoutType(WidgetLayoutType layoutType)
    • getLayoutType

      public WidgetLayoutType getLayoutType()
      Layout type of the group.
      Returns:
      layoutType
    • setLayoutType

      public void setLayoutType(WidgetLayoutType layoutType)
    • showTitle

      public GroupWidgetDefinition showTitle(Boolean showTitle)
    • getShowTitle

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

      public void setShowTitle(Boolean showTitle)
    • title

      public GroupWidgetDefinition title(String title)
    • getTitle

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

      public void setTitle(String title)
    • titleAlign

      public GroupWidgetDefinition titleAlign(WidgetTextAlign titleAlign)
    • getTitleAlign

      @Nullable public WidgetTextAlign getTitleAlign()
      How to align the text on the widget.
      Returns:
      titleAlign
    • setTitleAlign

      public void setTitleAlign(WidgetTextAlign titleAlign)
    • type

    • getType

      public GroupWidgetDefinitionType getType()
      Type of the group widget.
      Returns:
      type
    • setType

      public void setType(GroupWidgetDefinitionType type)
    • widgets

      public GroupWidgetDefinition widgets(List<Widget> widgets)
    • addWidgetsItem

      public GroupWidgetDefinition addWidgetsItem(Widget widgetsItem)
    • getWidgets

      public List<Widget> getWidgets()
      List of widget groups.
      Returns:
      widgets
    • setWidgets

      public void setWidgets(List<Widget> widgets)
    • putAdditionalProperty

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