Class SyntheticsConfigVariable

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsConfigVariable extends Object
Object defining a variable that can be used in your test configuration.
  • Field Details

  • Constructor Details

  • Method Details

    • example

      public SyntheticsConfigVariable example(String example)
    • getExample

      @Nullable public String getExample()
      Example for the variable.
      Returns:
      example
    • setExample

      public void setExample(String example)
    • id

    • getId

      @Nullable public String getId()
      ID of the variable for global variables.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public SyntheticsConfigVariable name(String name)
    • getName

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

      public void setName(String name)
    • pattern

      public SyntheticsConfigVariable pattern(String pattern)
    • getPattern

      @Nullable public String getPattern()
      Pattern of the variable.
      Returns:
      pattern
    • setPattern

      public void setPattern(String pattern)
    • secure

      public SyntheticsConfigVariable secure(Boolean secure)
    • getSecure

      @Nullable public Boolean getSecure()
      Whether the value of this variable will be obfuscated in test results. Only for config variables of type text.
      Returns:
      secure
    • setSecure

      public void setSecure(Boolean secure)
    • type

    • getType

      public SyntheticsConfigVariableType getType()
      Type of the configuration variable.
      Returns:
      type
    • setType

      public void setType(SyntheticsConfigVariableType type)
    • putAdditionalProperty

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