Class SyntheticsBrowserVariable

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

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

  • Constructor Details

  • Method Details

    • example

      public SyntheticsBrowserVariable 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 for the variable. Global variables require an ID.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public SyntheticsBrowserVariable name(String name)
    • getName

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

      public void setName(String name)
    • pattern

      public SyntheticsBrowserVariable pattern(String pattern)
    • getPattern

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

      public void setPattern(String pattern)
    • secure

      public SyntheticsBrowserVariable secure(Boolean secure)
    • getSecure

      @Nullable public Boolean getSecure()
      Determines whether or not the browser test variable is obfuscated. Can only be used with browser variables of type text.
      Returns:
      secure
    • setSecure

      public void setSecure(Boolean secure)
    • type

    • getType

      Type of browser test variable.
      Returns:
      type
    • setType

      public void setType(SyntheticsBrowserVariableType type)
    • putAdditionalProperty

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