Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsNetworkTestRequest(Long e2eQueries, String host, Long maxTtl, Long tracerouteQueries) -
Method Summary
Modifier and TypeMethodDescriptiondestinationService(String destinationService) e2eQueries(Long e2eQueries) booleanReturn true if this SyntheticsNetworkTestRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An optional label displayed for the destination host in the Network Path visualization.The number of packets sent to probe the destination to measure packet loss, latency and jitter.getHost()Host name to query.The maximum time-to-live (max number of hops) used in outgoing probe packets.getPort()For TCP or UDP tests, the port to use when performing the test.An optional label displayed for the source host in the Network Path visualization.For TCP tests, the TCP traceroute strategy.Timeout in seconds.The number of traceroute path tracings.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDestinationService(String destinationService) voidsetE2eQueries(Long e2eQueries) voidvoidvoidvoidsetSourceService(String sourceService) voidvoidsetTimeout(Long timeout) voidsetTracerouteQueries(Long tracerouteQueries) sourceService(String sourceService) tcpMethod(SyntheticsNetworkTestRequestTCPMethod tcpMethod) toString()tracerouteQueries(Long tracerouteQueries)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESTINATION_SERVICE
- See Also:
-
JSON_PROPERTY_E2E_QUERIES
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_MAX_TTL
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_SOURCE_SERVICE
- See Also:
-
JSON_PROPERTY_TCP_METHOD
- See Also:
-
JSON_PROPERTY_TIMEOUT
- See Also:
-
JSON_PROPERTY_TRACEROUTE_QUERIES
- See Also:
-
-
Constructor Details
-
SyntheticsNetworkTestRequest
public SyntheticsNetworkTestRequest() -
SyntheticsNetworkTestRequest
-
-
Method Details
-
destinationService
-
getDestinationService
An optional label displayed for the destination host in the Network Path visualization.- Returns:
- destinationService
-
setDestinationService
-
e2eQueries
-
getE2eQueries
The number of packets sent to probe the destination to measure packet loss, latency and jitter.- Returns:
- e2eQueries
-
setE2eQueries
-
host
-
getHost
Host name to query.- Returns:
- host
-
setHost
-
maxTtl
-
getMaxTtl
The maximum time-to-live (max number of hops) used in outgoing probe packets.- Returns:
- maxTtl
-
setMaxTtl
-
port
-
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
-
sourceService
-
getSourceService
An optional label displayed for the source host in the Network Path visualization.- Returns:
- sourceService
-
setSourceService
-
tcpMethod
-
getTcpMethod
For TCP tests, the TCP traceroute strategy.- Returns:
- tcpMethod
-
setTcpMethod
-
timeout
-
getTimeout
Timeout in seconds.- Returns:
- timeout
-
setTimeout
-
tracerouteQueries
-
getTracerouteQueries
The number of traceroute path tracings.- Returns:
- tracerouteQueries
-
setTracerouteQueries
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- SyntheticsNetworkTestRequest
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this SyntheticsNetworkTestRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-