Class SyntheticsBatchResult

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsBatchResult extends Object
Object with the results of a Synthetic batch.
  • Field Details

  • Constructor Details

    • SyntheticsBatchResult

      public SyntheticsBatchResult()
  • Method Details

    • device

      public SyntheticsBatchResult device(String device)
    • getDevice

      @Nullable public String getDevice()
      The device ID.
      Returns:
      device
    • setDevice

      public void setDevice(String device)
    • duration

      public SyntheticsBatchResult duration(Double duration)
    • getDuration

      @Nullable public Double getDuration()
      Total duration in millisecond of the test.
      Returns:
      duration
    • setDuration

      public void setDuration(Double duration)
    • executionRule

      public SyntheticsBatchResult executionRule(SyntheticsTestExecutionRule executionRule)
    • getExecutionRule

      @Nullable public SyntheticsTestExecutionRule getExecutionRule()
      Execution rule for a Synthetic test.
      Returns:
      executionRule
    • setExecutionRule

      public void setExecutionRule(SyntheticsTestExecutionRule executionRule)
    • location

      public SyntheticsBatchResult location(String location)
    • getLocation

      @Nullable public String getLocation()
      Name of the location.
      Returns:
      location
    • setLocation

      public void setLocation(String location)
    • resultId

      public SyntheticsBatchResult resultId(String resultId)
    • getResultId

      @Nullable public String getResultId()
      The ID of the result to get.
      Returns:
      resultId
    • setResultId

      public void setResultId(String resultId)
    • retries

      public SyntheticsBatchResult retries(Double retries)
    • getRetries

      @Nullable public Double getRetries()
      Number of times this result has been retried.
      Returns:
      retries
    • setRetries

      public void setRetries(Double retries)
    • status

    • getStatus

      @Nullable public SyntheticsBatchStatus getStatus()
      Determines whether the batch has passed, failed, or is in progress.
      Returns:
      status
    • setStatus

      public void setStatus(SyntheticsBatchStatus status)
    • testName

      public SyntheticsBatchResult testName(String testName)
    • getTestName

      @Nullable public String getTestName()
      Name of the test.
      Returns:
      testName
    • setTestName

      public void setTestName(String testName)
    • testPublicId

      public SyntheticsBatchResult testPublicId(String testPublicId)
    • getTestPublicId

      @Nullable public String getTestPublicId()
      The public ID of the Synthetic test.
      Returns:
      testPublicId
    • setTestPublicId

      public void setTestPublicId(String testPublicId)
    • testType

    • getTestType

      @Nullable public SyntheticsTestDetailsType getTestType()
      Type of the Synthetic test.
      Returns:
      testType
    • setTestType

      public void setTestType(SyntheticsTestDetailsType testType)
    • putAdditionalProperty

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