@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestRequest extends Object
| Constructor and Description |
|---|
SyntheticsTestRequest() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsTestRequest |
addCertificateDomainsItem(String certificateDomainsItem) |
SyntheticsTestRequest |
allowInsecure(Boolean allowInsecure) |
SyntheticsTestRequest |
basicAuth(SyntheticsBasicAuth basicAuth) |
SyntheticsTestRequest |
body(String body) |
SyntheticsTestRequest |
bodyType(SyntheticsTestRequestBodyType bodyType) |
SyntheticsTestRequest |
callType(SyntheticsTestCallType callType) |
SyntheticsTestRequest |
certificate(SyntheticsTestRequestCertificate certificate) |
SyntheticsTestRequest |
certificateDomains(List<String> certificateDomains) |
SyntheticsTestRequest |
dnsServer(String dnsServer) |
SyntheticsTestRequest |
dnsServerPort(Integer dnsServerPort) |
boolean |
equals(Object o)
Return true if this SyntheticsTestRequest object is equal to o.
|
SyntheticsTestRequest |
followRedirects(Boolean followRedirects) |
Boolean |
getAllowInsecure()
Allows loading insecure content for an HTTP request in a multistep test step.
|
SyntheticsBasicAuth |
getBasicAuth()
Object to handle basic authentication when performing the test.
|
String |
getBody()
Body to include in the test.
|
SyntheticsTestRequestBodyType |
getBodyType()
Type of the request body.
|
SyntheticsTestCallType |
getCallType()
The type of gRPC call to perform.
|
SyntheticsTestRequestCertificate |
getCertificate()
Client certificate to use when performing the test request.
|
List<String> |
getCertificateDomains()
By default, the client certificate is applied on the domain of the starting URL for browser
tests.
|
String |
getDnsServer()
DNS server to use for DNS tests.
|
Integer |
getDnsServerPort()
DNS server port to use for DNS tests.
|
Boolean |
getFollowRedirects()
Specifies whether or not the request follows redirects.
|
Map<String,String> |
getHeaders()
Headers to include when performing the test.
|
String |
getHost()
Host name to perform the test with.
|
String |
getMessage()
Message to send for UDP or WebSocket tests.
|
Map<String,String> |
getMetadata()
Metadata to include when performing the gRPC test.
|
String |
getMethod()
Either the HTTP method/verb to use or a gRPC method available on the service set in the
service field. |
Boolean |
getNoSavingResponseBody()
Determines whether or not to save the response body.
|
Integer |
getNumberOfPackets()
Number of pings to use per test.
|
Long |
getPort()
Port to use when performing the test.
|
SyntheticsTestRequestProxy |
getProxy()
The proxy to perform the test.
|
Object |
getQuery()
Query to use for the test.
|
String |
getServername()
For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing
the server to present one of multiple possible certificates on the same IP address and TCP port
number.
|
String |
getService()
The gRPC service on which you want to perform the gRPC call.
|
Boolean |
getShouldTrackHops()
Turns on a traceroute probe to discover all gateways along the path to the host destination.
|
Double |
getTimeout()
Timeout in seconds for the test.
|
String |
getUrl()
URL to perform the test with.
|
int |
hashCode() |
SyntheticsTestRequest |
headers(Map<String,String> headers) |
SyntheticsTestRequest |
host(String host) |
SyntheticsTestRequest |
message(String message) |
SyntheticsTestRequest |
metadata(Map<String,String> metadata) |
SyntheticsTestRequest |
method(String method) |
SyntheticsTestRequest |
noSavingResponseBody(Boolean noSavingResponseBody) |
SyntheticsTestRequest |
numberOfPackets(Integer numberOfPackets) |
SyntheticsTestRequest |
port(Long port) |
SyntheticsTestRequest |
proxy(SyntheticsTestRequestProxy proxy) |
SyntheticsTestRequest |
putHeadersItem(String key,
String headersItem) |
SyntheticsTestRequest |
putMetadataItem(String key,
String metadataItem) |
SyntheticsTestRequest |
query(Object query) |
SyntheticsTestRequest |
servername(String servername) |
SyntheticsTestRequest |
service(String service) |
void |
setAllowInsecure(Boolean allowInsecure) |
void |
setBasicAuth(SyntheticsBasicAuth basicAuth) |
void |
setBody(String body) |
void |
setBodyType(SyntheticsTestRequestBodyType bodyType) |
void |
setCallType(SyntheticsTestCallType callType) |
void |
setCertificate(SyntheticsTestRequestCertificate certificate) |
void |
setCertificateDomains(List<String> certificateDomains) |
void |
setDnsServer(String dnsServer) |
void |
setDnsServerPort(Integer dnsServerPort) |
void |
setFollowRedirects(Boolean followRedirects) |
void |
setHeaders(Map<String,String> headers) |
void |
setHost(String host) |
void |
setMessage(String message) |
void |
setMetadata(Map<String,String> metadata) |
void |
setMethod(String method) |
void |
setNoSavingResponseBody(Boolean noSavingResponseBody) |
void |
setNumberOfPackets(Integer numberOfPackets) |
void |
setPort(Long port) |
void |
setProxy(SyntheticsTestRequestProxy proxy) |
void |
setQuery(Object query) |
void |
setServername(String servername) |
void |
setService(String service) |
void |
setShouldTrackHops(Boolean shouldTrackHops) |
void |
setTimeout(Double timeout) |
void |
setUrl(String url) |
SyntheticsTestRequest |
shouldTrackHops(Boolean shouldTrackHops) |
SyntheticsTestRequest |
timeout(Double timeout) |
String |
toString() |
SyntheticsTestRequest |
url(String url) |
public boolean unparsed
public static final String JSON_PROPERTY_ALLOW_INSECURE
public static final String JSON_PROPERTY_BASIC_AUTH
public static final String JSON_PROPERTY_BODY
public static final String JSON_PROPERTY_BODY_TYPE
public static final String JSON_PROPERTY_CALL_TYPE
public static final String JSON_PROPERTY_CERTIFICATE
public static final String JSON_PROPERTY_CERTIFICATE_DOMAINS
public static final String JSON_PROPERTY_DNS_SERVER
public static final String JSON_PROPERTY_DNS_SERVER_PORT
public static final String JSON_PROPERTY_FOLLOW_REDIRECTS
public static final String JSON_PROPERTY_HEADERS
public static final String JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METHOD
public static final String JSON_PROPERTY_NO_SAVING_RESPONSE_BODY
public static final String JSON_PROPERTY_NUMBER_OF_PACKETS
public static final String JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PROXY
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SERVERNAME
public static final String JSON_PROPERTY_SERVICE
public static final String JSON_PROPERTY_SHOULD_TRACK_HOPS
public static final String JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_URL
public SyntheticsTestRequest allowInsecure(Boolean allowInsecure)
@Nullable public Boolean getAllowInsecure()
public void setAllowInsecure(Boolean allowInsecure)
public SyntheticsTestRequest basicAuth(SyntheticsBasicAuth basicAuth)
@Nullable public SyntheticsBasicAuth getBasicAuth()
public void setBasicAuth(SyntheticsBasicAuth basicAuth)
public SyntheticsTestRequest body(String body)
@Nullable public String getBody()
public void setBody(String body)
public SyntheticsTestRequest bodyType(SyntheticsTestRequestBodyType bodyType)
@Nullable public SyntheticsTestRequestBodyType getBodyType()
public void setBodyType(SyntheticsTestRequestBodyType bodyType)
public SyntheticsTestRequest callType(SyntheticsTestCallType callType)
@Nullable public SyntheticsTestCallType getCallType()
public void setCallType(SyntheticsTestCallType callType)
public SyntheticsTestRequest certificate(SyntheticsTestRequestCertificate certificate)
@Nullable public SyntheticsTestRequestCertificate getCertificate()
public void setCertificate(SyntheticsTestRequestCertificate certificate)
public SyntheticsTestRequest certificateDomains(List<String> certificateDomains)
public SyntheticsTestRequest addCertificateDomainsItem(String certificateDomainsItem)
@Nullable public List<String> getCertificateDomains()
certificateDomains.public SyntheticsTestRequest dnsServer(String dnsServer)
@Nullable public String getDnsServer()
public void setDnsServer(String dnsServer)
public SyntheticsTestRequest dnsServerPort(Integer dnsServerPort)
@Nullable public Integer getDnsServerPort()
public void setDnsServerPort(Integer dnsServerPort)
public SyntheticsTestRequest followRedirects(Boolean followRedirects)
@Nullable public Boolean getFollowRedirects()
public void setFollowRedirects(Boolean followRedirects)
public SyntheticsTestRequest headers(Map<String,String> headers)
public SyntheticsTestRequest putHeadersItem(String key, String headersItem)
@Nullable public Map<String,String> getHeaders()
public SyntheticsTestRequest host(String host)
@Nullable public String getHost()
public void setHost(String host)
public SyntheticsTestRequest message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public SyntheticsTestRequest metadata(Map<String,String> metadata)
public SyntheticsTestRequest putMetadataItem(String key, String metadataItem)
@Nullable public Map<String,String> getMetadata()
public SyntheticsTestRequest method(String method)
@Nullable public String getMethod()
service field. Required if subtype is HTTP or if subtype
is grpc and callType is unary.public void setMethod(String method)
public SyntheticsTestRequest noSavingResponseBody(Boolean noSavingResponseBody)
@Nullable public Boolean getNoSavingResponseBody()
public void setNoSavingResponseBody(Boolean noSavingResponseBody)
public SyntheticsTestRequest numberOfPackets(Integer numberOfPackets)
@Nullable public Integer getNumberOfPackets()
public void setNumberOfPackets(Integer numberOfPackets)
public SyntheticsTestRequest port(Long port)
@Nullable public Long getPort()
public void setPort(Long port)
public SyntheticsTestRequest proxy(SyntheticsTestRequestProxy proxy)
@Nullable public SyntheticsTestRequestProxy getProxy()
public void setProxy(SyntheticsTestRequestProxy proxy)
public SyntheticsTestRequest query(Object query)
@Nullable public Object getQuery()
public void setQuery(Object query)
public SyntheticsTestRequest servername(String servername)
@Nullable public String getServername()
public void setServername(String servername)
public SyntheticsTestRequest service(String service)
@Nullable public String getService()
public void setService(String service)
public SyntheticsTestRequest shouldTrackHops(Boolean shouldTrackHops)
@Nullable public Boolean getShouldTrackHops()
public void setShouldTrackHops(Boolean shouldTrackHops)
public SyntheticsTestRequest timeout(Double timeout)
@Nullable public Double getTimeout()
public void setTimeout(Double timeout)
public SyntheticsTestRequest url(String url)
@Nullable public String getUrl()
public void setUrl(String url)
public boolean equals(Object o)
Copyright © 2023. All rights reserved.