@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 |
addFilesItem(SyntheticsTestRequestBodyFile filesItem) |
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 |
compressedJsonDescriptor(String compressedJsonDescriptor) |
SyntheticsTestRequest |
compressedProtoFile(String compressedProtoFile) |
SyntheticsTestRequest |
dnsServer(String dnsServer) |
SyntheticsTestRequest |
dnsServerPort(Integer dnsServerPort) |
boolean |
equals(Object o)
Return true if this SyntheticsTestRequest object is equal to o.
|
SyntheticsTestRequest |
files(List<SyntheticsTestRequestBodyFile> files) |
SyntheticsTestRequest |
followRedirects(Boolean followRedirects) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
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 |
getCompressedJsonDescriptor()
A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
|
String |
getCompressedProtoFile()
A protobuf file that needs to be gzipped first then base64 encoded.
|
String |
getDnsServer()
DNS server to use for DNS tests.
|
Integer |
getDnsServerPort()
DNS server port to use for DNS tests.
|
List<SyntheticsTestRequestBodyFile> |
getFiles()
Files to be used as part of the request in the test.
|
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.
|
SyntheticsTestOptionsHTTPVersion |
getHttpVersion()
HTTP version to use for a Synthetic test.
|
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.
|
Boolean |
getPersistCookies()
Persist cookies across redirects.
|
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 |
httpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) |
SyntheticsTestRequest |
message(String message) |
SyntheticsTestRequest |
metadata(Map<String,String> metadata) |
SyntheticsTestRequest |
method(String method) |
SyntheticsTestRequest |
noSavingResponseBody(Boolean noSavingResponseBody) |
SyntheticsTestRequest |
numberOfPackets(Integer numberOfPackets) |
SyntheticsTestRequest |
persistCookies(Boolean persistCookies) |
SyntheticsTestRequest |
port(Long port) |
SyntheticsTestRequest |
proxy(SyntheticsTestRequestProxy proxy) |
SyntheticsTestRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
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 |
setCompressedJsonDescriptor(String compressedJsonDescriptor) |
void |
setCompressedProtoFile(String compressedProtoFile) |
void |
setDnsServer(String dnsServer) |
void |
setDnsServerPort(Integer dnsServerPort) |
void |
setFiles(List<SyntheticsTestRequestBodyFile> files) |
void |
setFollowRedirects(Boolean followRedirects) |
void |
setHeaders(Map<String,String> headers) |
void |
setHost(String host) |
void |
setHttpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) |
void |
setMessage(String message) |
void |
setMetadata(Map<String,String> metadata) |
void |
setMethod(String method) |
void |
setNoSavingResponseBody(Boolean noSavingResponseBody) |
void |
setNumberOfPackets(Integer numberOfPackets) |
void |
setPersistCookies(Boolean persistCookies) |
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_COMPRESSED_JSON_DESCRIPTOR
public static final String JSON_PROPERTY_COMPRESSED_PROTO_FILE
public static final String JSON_PROPERTY_DNS_SERVER
public static final String JSON_PROPERTY_DNS_SERVER_PORT
public static final String JSON_PROPERTY_FILES
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_HTTP_VERSION
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_PERSIST_COOKIES
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 compressedJsonDescriptor(String compressedJsonDescriptor)
@Nullable public String getCompressedJsonDescriptor()
public void setCompressedJsonDescriptor(String compressedJsonDescriptor)
public SyntheticsTestRequest compressedProtoFile(String compressedProtoFile)
@Nullable public String getCompressedProtoFile()
public void setCompressedProtoFile(String compressedProtoFile)
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 files(List<SyntheticsTestRequestBodyFile> files)
public SyntheticsTestRequest addFilesItem(SyntheticsTestRequestBodyFile filesItem)
@Nullable public List<SyntheticsTestRequestBodyFile> getFiles()
public void setFiles(List<SyntheticsTestRequestBodyFile> files)
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 httpVersion(SyntheticsTestOptionsHTTPVersion httpVersion)
@Nullable public SyntheticsTestOptionsHTTPVersion getHttpVersion()
public void setHttpVersion(SyntheticsTestOptionsHTTPVersion httpVersion)
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 persistCookies(Boolean persistCookies)
@Nullable public Boolean getPersistCookies()
public void setPersistCookies(Boolean persistCookies)
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 SyntheticsTestRequest 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 © 2024. All rights reserved.