Class PowerpackTemplateVariable

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PowerpackTemplateVariable extends Object
Powerpack template variables.
  • Field Details

  • Constructor Details

    • PowerpackTemplateVariable

      public PowerpackTemplateVariable()
    • PowerpackTemplateVariable

      public PowerpackTemplateVariable(String name)
  • Method Details

    • availableValues

      public PowerpackTemplateVariable availableValues(List<String> availableValues)
    • addAvailableValuesItem

      public PowerpackTemplateVariable addAvailableValuesItem(String availableValuesItem)
    • getAvailableValues

      @Nullable public List<String> getAvailableValues()
      The list of values that the template variable drop-down is limited to.
      Returns:
      availableValues
    • getAvailableValues_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getAvailableValues_JsonNullable()
    • setAvailableValues_JsonNullable

      public void setAvailableValues_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> availableValues)
    • setAvailableValues

      public void setAvailableValues(List<String> availableValues)
    • defaults

      public PowerpackTemplateVariable defaults(List<String> defaults)
    • addDefaultsItem

      public PowerpackTemplateVariable addDefaultsItem(String defaultsItem)
    • getDefaults

      @Nullable public List<String> getDefaults()
      One or many template variable default values within the saved view, which are unioned together using OR if more than one is specified.
      Returns:
      defaults
    • setDefaults

      public void setDefaults(List<String> defaults)
    • name

      public PowerpackTemplateVariable name(String name)
    • getName

      public String getName()
      The name of the variable.
      Returns:
      name
    • setName

      public void setName(String name)
    • prefix

      public PowerpackTemplateVariable prefix(String prefix)
    • getPrefix

      @Nullable public String getPrefix()
      The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.
      Returns:
      prefix
    • getPrefix_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getPrefix_JsonNullable()
    • setPrefix_JsonNullable

      public void setPrefix_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> prefix)
    • setPrefix

      public void setPrefix(String prefix)
    • putAdditionalProperty

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