@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsNetworkTestRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DESTINATION_SERVICE |
static String |
JSON_PROPERTY_E2E_QUERIES |
static String |
JSON_PROPERTY_HOST |
static String |
JSON_PROPERTY_MAX_TTL |
static String |
JSON_PROPERTY_PORT |
static String |
JSON_PROPERTY_SOURCE_SERVICE |
static String |
JSON_PROPERTY_TCP_METHOD |
static String |
JSON_PROPERTY_TIMEOUT |
static String |
JSON_PROPERTY_TRACEROUTE_QUERIES |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsNetworkTestRequest() |
SyntheticsNetworkTestRequest(Long e2eQueries,
String host,
Long maxTtl,
Long tracerouteQueries) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsNetworkTestRequest |
destinationService(String destinationService) |
SyntheticsNetworkTestRequest |
e2eQueries(Long e2eQueries) |
boolean |
equals(Object o)
Return true if this SyntheticsNetworkTestRequest object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDestinationService()
An optional label displayed for the destination host in the Network Path visualization.
|
Long |
getE2eQueries()
The number of packets sent to probe the destination to measure packet loss, latency and jitter.
|
String |
getHost()
Host name to query.
|
Long |
getMaxTtl()
The maximum time-to-live (max number of hops) used in outgoing probe packets.
|
Long |
getPort()
For TCP or UDP tests, the port to use when performing the test.
|
String |
getSourceService()
An optional label displayed for the source host in the Network Path visualization.
|
SyntheticsNetworkTestRequestTCPMethod |
getTcpMethod()
For TCP tests, the TCP traceroute strategy.
|
Long |
getTimeout()
Timeout in seconds.
|
Long |
getTracerouteQueries()
The number of traceroute path tracings.
|
int |
hashCode() |
SyntheticsNetworkTestRequest |
host(String host) |
SyntheticsNetworkTestRequest |
maxTtl(Long maxTtl) |
SyntheticsNetworkTestRequest |
port(Long port) |
SyntheticsNetworkTestRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDestinationService(String destinationService) |
void |
setE2eQueries(Long e2eQueries) |
void |
setHost(String host) |
void |
setMaxTtl(Long maxTtl) |
void |
setPort(Long port) |
void |
setSourceService(String sourceService) |
void |
setTcpMethod(SyntheticsNetworkTestRequestTCPMethod tcpMethod) |
void |
setTimeout(Long timeout) |
void |
setTracerouteQueries(Long tracerouteQueries) |
SyntheticsNetworkTestRequest |
sourceService(String sourceService) |
SyntheticsNetworkTestRequest |
tcpMethod(SyntheticsNetworkTestRequestTCPMethod tcpMethod) |
SyntheticsNetworkTestRequest |
timeout(Long timeout) |
String |
toString() |
SyntheticsNetworkTestRequest |
tracerouteQueries(Long tracerouteQueries) |
public boolean unparsed
public static final String JSON_PROPERTY_DESTINATION_SERVICE
public static final String JSON_PROPERTY_E2E_QUERIES
public static final String JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_MAX_TTL
public static final String JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_SOURCE_SERVICE
public static final String JSON_PROPERTY_TCP_METHOD
public static final String JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TRACEROUTE_QUERIES
public SyntheticsNetworkTestRequest destinationService(String destinationService)
@Nullable public String getDestinationService()
public void setDestinationService(String destinationService)
public SyntheticsNetworkTestRequest e2eQueries(Long e2eQueries)
public Long getE2eQueries()
public void setE2eQueries(Long e2eQueries)
public SyntheticsNetworkTestRequest host(String host)
public String getHost()
public void setHost(String host)
public SyntheticsNetworkTestRequest maxTtl(Long maxTtl)
public Long getMaxTtl()
public void setMaxTtl(Long maxTtl)
public SyntheticsNetworkTestRequest port(Long port)
@Nullable public Long getPort()
public void setPort(Long port)
public SyntheticsNetworkTestRequest sourceService(String sourceService)
@Nullable public String getSourceService()
public void setSourceService(String sourceService)
public SyntheticsNetworkTestRequest tcpMethod(SyntheticsNetworkTestRequestTCPMethod tcpMethod)
@Nullable public SyntheticsNetworkTestRequestTCPMethod getTcpMethod()
public void setTcpMethod(SyntheticsNetworkTestRequestTCPMethod tcpMethod)
public SyntheticsNetworkTestRequest timeout(Long timeout)
@Nullable public Long getTimeout()
public void setTimeout(Long timeout)
public SyntheticsNetworkTestRequest tracerouteQueries(Long tracerouteQueries)
public Long getTracerouteQueries()
public void setTracerouteQueries(Long tracerouteQueries)
public SyntheticsNetworkTestRequest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.