Class SyntheticsNetworkTestRequest

java.lang.Object
com.datadog.api.client.v2.model.SyntheticsNetworkTestRequest

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsNetworkTestRequest extends Object
Object describing the request for a Network Path test.
  • Field Details

  • Constructor Details

    • SyntheticsNetworkTestRequest

      public SyntheticsNetworkTestRequest()
    • SyntheticsNetworkTestRequest

      public SyntheticsNetworkTestRequest(Long e2eQueries, String host, Long maxTtl, Long tracerouteQueries)
  • Method Details

    • destinationService

      public SyntheticsNetworkTestRequest destinationService(String destinationService)
    • getDestinationService

      @Nullable public String getDestinationService()
      An optional label displayed for the destination host in the Network Path visualization.
      Returns:
      destinationService
    • setDestinationService

      public void setDestinationService(String destinationService)
    • e2eQueries

      public SyntheticsNetworkTestRequest e2eQueries(Long e2eQueries)
    • getE2eQueries

      public Long getE2eQueries()
      The number of packets sent to probe the destination to measure packet loss, latency and jitter.
      Returns:
      e2eQueries
    • setE2eQueries

      public void setE2eQueries(Long e2eQueries)
    • host

    • getHost

      public String getHost()
      Host name to query.
      Returns:
      host
    • setHost

      public void setHost(String host)
    • maxTtl

      public SyntheticsNetworkTestRequest maxTtl(Long maxTtl)
    • getMaxTtl

      public Long getMaxTtl()
      The maximum time-to-live (max number of hops) used in outgoing probe packets.
      Returns:
      maxTtl
    • setMaxTtl

      public void setMaxTtl(Long maxTtl)
    • port

      public SyntheticsNetworkTestRequest port(Long port)
    • getPort

      @Nullable public Long getPort()
      For TCP or UDP tests, the port to use when performing the test. If not set on a UDP test, a random port is assigned, which may affect the results.
      Returns:
      port
    • setPort

      public void setPort(Long port)
    • sourceService

      public SyntheticsNetworkTestRequest sourceService(String sourceService)
    • getSourceService

      @Nullable public String getSourceService()
      An optional label displayed for the source host in the Network Path visualization.
      Returns:
      sourceService
    • setSourceService

      public void setSourceService(String sourceService)
    • tcpMethod

    • getTcpMethod

      @Nullable public SyntheticsNetworkTestRequestTCPMethod getTcpMethod()
      For TCP tests, the TCP traceroute strategy.
      Returns:
      tcpMethod
    • setTcpMethod

      public void setTcpMethod(SyntheticsNetworkTestRequestTCPMethod tcpMethod)
    • timeout

      public SyntheticsNetworkTestRequest timeout(Long timeout)
    • getTimeout

      @Nullable public Long getTimeout()
      Timeout in seconds.
      Returns:
      timeout
    • setTimeout

      public void setTimeout(Long timeout)
    • tracerouteQueries

      public SyntheticsNetworkTestRequest tracerouteQueries(Long tracerouteQueries)
    • getTracerouteQueries

      public Long getTracerouteQueries()
      The number of traceroute path tracings.
      Returns:
      tracerouteQueries
    • setTracerouteQueries

      public void setTracerouteQueries(Long tracerouteQueries)
    • putAdditionalProperty

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