Class SyntheticsMobileStep

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsMobileStep extends Object
The steps used in a Synthetic mobile test.
  • Field Details

  • Constructor Details

  • Method Details

    • allowFailure

      public SyntheticsMobileStep allowFailure(Boolean allowFailure)
    • getAllowFailure

      @Nullable public Boolean getAllowFailure()
      A boolean set to allow this step to fail.
      Returns:
      allowFailure
    • setAllowFailure

      public void setAllowFailure(Boolean allowFailure)
    • hasNewStepElement

      public SyntheticsMobileStep hasNewStepElement(Boolean hasNewStepElement)
    • getHasNewStepElement

      @Nullable public Boolean getHasNewStepElement()
      A boolean set to determine if the step has a new step element.
      Returns:
      hasNewStepElement
    • setHasNewStepElement

      public void setHasNewStepElement(Boolean hasNewStepElement)
    • isCritical

      public SyntheticsMobileStep isCritical(Boolean isCritical)
    • getIsCritical

      @Nullable public Boolean getIsCritical()
      A boolean to use in addition to allowFailure to determine if the test should be marked as failed when the step fails.
      Returns:
      isCritical
    • setIsCritical

      public void setIsCritical(Boolean isCritical)
    • name

      public SyntheticsMobileStep name(String name)
    • getName

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

      public void setName(String name)
    • noScreenshot

      public SyntheticsMobileStep noScreenshot(Boolean noScreenshot)
    • getNoScreenshot

      @Nullable public Boolean getNoScreenshot()
      A boolean set to not take a screenshot for the step.
      Returns:
      noScreenshot
    • setNoScreenshot

      public void setNoScreenshot(Boolean noScreenshot)
    • params

    • getParams

      public SyntheticsMobileStepParams getParams()
      The parameters of a mobile step.
      Returns:
      params
    • setParams

      public void setParams(SyntheticsMobileStepParams params)
    • publicId

      public SyntheticsMobileStep publicId(String publicId)
    • getPublicId

      @Nullable public String getPublicId()
      The public ID of the step.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • timeout

      public SyntheticsMobileStep timeout(Long timeout)
    • getTimeout

      @Nullable public Long getTimeout()
      The time before declaring a step failed.
      Returns:
      timeout
    • setTimeout

      public void setTimeout(Long timeout)
    • type

    • getType

      public SyntheticsMobileStepType getType()
      Step type used in your mobile Synthetic test.
      Returns:
      type
    • setType

      public void setType(SyntheticsMobileStepType type)
    • putAdditionalProperty

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