Class WidgetCustomLink

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetCustomLink extends Object
Custom links help you connect a data value to a URL, like a Datadog page or your AWS console.
  • Field Details

  • Constructor Details

    • WidgetCustomLink

      public WidgetCustomLink()
  • Method Details

    • isHidden

      public WidgetCustomLink isHidden(Boolean isHidden)
    • getIsHidden

      @Nullable public Boolean getIsHidden()
      The flag for toggling context menu link visibility.
      Returns:
      isHidden
    • setIsHidden

      public void setIsHidden(Boolean isHidden)
    • label

      public WidgetCustomLink label(String label)
    • getLabel

      @Nullable public String getLabel()
      The label for the custom link URL. Keep the label short and descriptive. Use metrics and tags as variables.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • link

      public WidgetCustomLink link(String link)
    • getLink

      @Nullable public String getLink()
      The URL of the custom link. URL must include http or https. A relative URL must start with /.
      Returns:
      link
    • setLink

      public void setLink(String link)
    • overrideLabel

      public WidgetCustomLink overrideLabel(String overrideLabel)
    • getOverrideLabel

      @Nullable public String getOverrideLabel()
      The label ID that refers to a context menu link. Can be logs, hosts, traces, profiles, processes, containers, or rum.
      Returns:
      overrideLabel
    • setOverrideLabel

      public void setOverrideLabel(String overrideLabel)
    • putAdditionalProperty

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