Class SyntheticsCITest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsCITest extends Object
Configuration for Continuous Testing.
  • Field Details

  • Constructor Details

    • SyntheticsCITest

      public SyntheticsCITest()
    • SyntheticsCITest

      public SyntheticsCITest(String publicId)
  • Method Details

    • allowInsecureCertificates

      public SyntheticsCITest allowInsecureCertificates(Boolean allowInsecureCertificates)
    • getAllowInsecureCertificates

      @Nullable public Boolean getAllowInsecureCertificates()
      Disable certificate checks in API tests.
      Returns:
      allowInsecureCertificates
    • setAllowInsecureCertificates

      public void setAllowInsecureCertificates(Boolean allowInsecureCertificates)
    • basicAuth

      public SyntheticsCITest basicAuth(SyntheticsBasicAuth basicAuth)
    • getBasicAuth

      @Nullable public SyntheticsBasicAuth getBasicAuth()
      Object to handle basic authentication when performing the test.
      Returns:
      basicAuth
    • setBasicAuth

      public void setBasicAuth(SyntheticsBasicAuth basicAuth)
    • body

      public SyntheticsCITest body(String body)
    • getBody

      @Nullable public String getBody()
      Body to include in the test.
      Returns:
      body
    • setBody

      public void setBody(String body)
    • bodyType

      public SyntheticsCITest bodyType(String bodyType)
    • getBodyType

      @Nullable public String getBodyType()
      Type of the data sent in a Synthetic API test.
      Returns:
      bodyType
    • setBodyType

      public void setBodyType(String bodyType)
    • cookies

      public SyntheticsCITest cookies(String cookies)
    • getCookies

      @Nullable public String getCookies()
      Cookies for the request.
      Returns:
      cookies
    • setCookies

      public void setCookies(String cookies)
    • deviceIds

      public SyntheticsCITest deviceIds(List<String> deviceIds)
    • addDeviceIdsItem

      public SyntheticsCITest addDeviceIdsItem(String deviceIdsItem)
    • getDeviceIds

      @Nullable public List<String> getDeviceIds()
      For browser test, array with the different device IDs used to run the test.
      Returns:
      deviceIds
    • setDeviceIds

      public void setDeviceIds(List<String> deviceIds)
    • followRedirects

      public SyntheticsCITest followRedirects(Boolean followRedirects)
    • getFollowRedirects

      @Nullable public Boolean getFollowRedirects()
      For API HTTP test, whether or not the test should follow redirects.
      Returns:
      followRedirects
    • setFollowRedirects

      public void setFollowRedirects(Boolean followRedirects)
    • headers

      public SyntheticsCITest headers(Map<String,String> headers)
    • putHeadersItem

      public SyntheticsCITest putHeadersItem(String key, String headersItem)
    • getHeaders

      @Nullable public Map<String,String> getHeaders()
      Headers to include when performing the test.
      Returns:
      headers
    • setHeaders

      public void setHeaders(Map<String,String> headers)
    • locations

      public SyntheticsCITest locations(List<String> locations)
    • addLocationsItem

      public SyntheticsCITest addLocationsItem(String locationsItem)
    • getLocations

      @Nullable public List<String> getLocations()
      Array of locations used to run the test.
      Returns:
      locations
    • setLocations

      public void setLocations(List<String> locations)
    • metadata

      public SyntheticsCITest metadata(SyntheticsCIBatchMetadata metadata)
    • getMetadata

      @Nullable public SyntheticsCIBatchMetadata getMetadata()
      Metadata for the Synthetic tests run.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(SyntheticsCIBatchMetadata metadata)
    • publicId

      public SyntheticsCITest publicId(String publicId)
    • getPublicId

      public String getPublicId()
      The public ID of the Synthetic test to trigger.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • retry

    • getRetry

      @Nullable public SyntheticsTestOptionsRetry getRetry()
      Object describing the retry strategy to apply to a Synthetic test.
      Returns:
      retry
    • setRetry

      public void setRetry(SyntheticsTestOptionsRetry retry)
    • startUrl

      public SyntheticsCITest startUrl(String startUrl)
    • getStartUrl

      @Nullable public String getStartUrl()
      Starting URL for the browser test.
      Returns:
      startUrl
    • setStartUrl

      public void setStartUrl(String startUrl)
    • variables

      public SyntheticsCITest variables(Map<String,String> variables)
    • putVariablesItem

      public SyntheticsCITest putVariablesItem(String key, String variablesItem)
    • getVariables

      @Nullable public Map<String,String> getVariables()
      Variables to replace in the test.
      Returns:
      variables
    • setVariables

      public void setVariables(Map<String,String> variables)
    • version

      public SyntheticsCITest version(Long version)
    • getVersion

      @Nullable public Long getVersion()
      The version number of the Synthetic test version to trigger.
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • putAdditionalProperty

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