Class SyntheticsTestResultNetpathHop

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultNetpathHop extends Object
A single hop along a network path.
  • Field Details

  • Constructor Details

    • SyntheticsTestResultNetpathHop

      public SyntheticsTestResultNetpathHop()
  • Method Details

    • hostname

      public SyntheticsTestResultNetpathHop hostname(String hostname)
    • getHostname

      @Nullable public String getHostname()
      Resolved hostname of the hop.
      Returns:
      hostname
    • setHostname

      public void setHostname(String hostname)
    • ipAddress

      public SyntheticsTestResultNetpathHop ipAddress(String ipAddress)
    • getIpAddress

      @Nullable public String getIpAddress()
      IP address of the hop.
      Returns:
      ipAddress
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • reachable

      public SyntheticsTestResultNetpathHop reachable(Boolean reachable)
    • getReachable

      @Nullable public Boolean getReachable()
      Whether this hop was reachable.
      Returns:
      reachable
    • setReachable

      public void setReachable(Boolean reachable)
    • rtt

    • getRtt

      @Nullable public Double getRtt()
      Round-trip time to this hop in milliseconds.
      Returns:
      rtt
    • setRtt

      public void setRtt(Double rtt)
    • ttl

    • getTtl

      @Nullable public Long getTtl()
      Time-to-live value of the probe packet at this hop.
      Returns:
      ttl
    • setTtl

      public void setTtl(Long ttl)
    • putAdditionalProperty

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