Package com.datadog.api.client.v1.model
Class SyntheticsTestOptions
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsTestOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestOptions
extends Object
Object describing the extra options for a Synthetic test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptSelfSigned(Boolean acceptSelfSigned) addBlockedRequestPatternsItem(String blockedRequestPatternsItem) addDeviceIdsItem(String deviceIdsItem) addRestrictedRolesItem(String restrictedRolesItem) allowInsecure(Boolean allowInsecure) blockedRequestPatterns(List<String> blockedRequestPatterns) captureNetworkPayloads(Boolean captureNetworkPayloads) checkCertificateRevocation(Boolean checkCertificateRevocation) disableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) disableCors(Boolean disableCors) disableCsp(Boolean disableCsp) enableProfiling(Boolean enableProfiling) enableSecurityTesting(Boolean enableSecurityTesting) booleanReturn true if this SyntheticsTestOptions object is equal to o.followRedirects(Boolean followRedirects) For SSL tests, whether or not the test should allow self signed certificates.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Allows loading insecure content for an HTTP request in an API test.Array of URL patterns to block.Capture HTTP request/response headers and bodies for Fetch/XHR calls made during browser tests.For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.getCi()CI/CD options for a Synthetic test.For browser test, array with the different device IDs used to run the test.For SSL tests, whether or not the test should disable fetching intermediate certificates from AIA.Whether or not to disable CORS mechanism.Disable Content Security Policy for browser tests.Enable profiling for browser tests.Deprecated.For API HTTP test, whether or not the test should follow redirects.HTTP version to use for a Synthetic test.For SSL tests, whether the test should ignore certificate validation.Ignore server certificate error for browser tests.Timeout before declaring the initial step as failed (in seconds) for browser tests.Minimum amount of time in failure required to trigger an alert.Minimum number of locations in failure required to trigger an alert.The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.Object containing the options for a Synthetic test as a monitor (for example, renotification).Integer from 1 (high) to 5 (low) indicating alert severity.Prevents saving screenshots of the steps.Deprecated.getRetry()Object describing the retry strategy to apply to a Synthetic test.The RUM data collection settings for the Synthetic browser test.Object containing timeframes and timezone used for advanced scheduling.The frequency at which to run the Synthetic test (in seconds).inthashCode()httpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) ignoreCertificateValidation(Boolean ignoreCertificateValidation) ignoreServerCertificateError(Boolean ignoreServerCertificateError) initialNavigationTimeout(Long initialNavigationTimeout) minFailureDuration(Long minFailureDuration) minLocationFailed(Long minLocationFailed) monitorName(String monitorName) monitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) monitorPriority(Integer monitorPriority) noScreenshot(Boolean noScreenshot) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.restrictedRoles(List<String> restrictedRoles) retry(SyntheticsTestOptionsRetry retry) rumSettings(SyntheticsBrowserTestRumSettings rumSettings) scheduling(SyntheticsTestOptionsScheduling scheduling) voidsetAcceptSelfSigned(Boolean acceptSelfSigned) voidsetAllowInsecure(Boolean allowInsecure) voidsetBlockedRequestPatterns(List<String> blockedRequestPatterns) voidsetCaptureNetworkPayloads(Boolean captureNetworkPayloads) voidsetCheckCertificateRevocation(Boolean checkCertificateRevocation) voidvoidsetDeviceIds(List<String> deviceIds) voidsetDisableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) voidsetDisableCors(Boolean disableCors) voidsetDisableCsp(Boolean disableCsp) voidsetEnableProfiling(Boolean enableProfiling) voidsetEnableSecurityTesting(Boolean enableSecurityTesting) Deprecated.voidsetFollowRedirects(Boolean followRedirects) voidsetHttpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) voidsetIgnoreCertificateValidation(Boolean ignoreCertificateValidation) voidsetIgnoreServerCertificateError(Boolean ignoreServerCertificateError) voidsetInitialNavigationTimeout(Long initialNavigationTimeout) voidsetMinFailureDuration(Long minFailureDuration) voidsetMinLocationFailed(Long minLocationFailed) voidsetMonitorName(String monitorName) voidsetMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) voidsetMonitorPriority(Integer monitorPriority) voidsetNoScreenshot(Boolean noScreenshot) voidsetRestrictedRoles(List<String> restrictedRoles) Deprecated.voidvoidsetRumSettings(SyntheticsBrowserTestRumSettings rumSettings) voidsetScheduling(SyntheticsTestOptionsScheduling scheduling) voidsetTickEvery(Long tickEvery) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCEPT_SELF_SIGNED
- See Also:
-
JSON_PROPERTY_ALLOW_INSECURE
- See Also:
-
JSON_PROPERTY_BLOCKED_REQUEST_PATTERNS
- See Also:
-
JSON_PROPERTY_CAPTURE_NETWORK_PAYLOADS
- See Also:
-
JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION
- See Also:
-
JSON_PROPERTY_CI
- See Also:
-
JSON_PROPERTY_DEVICE_IDS
- See Also:
-
JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING
- See Also:
-
JSON_PROPERTY_DISABLE_CORS
- See Also:
-
JSON_PROPERTY_DISABLE_CSP
- See Also:
-
JSON_PROPERTY_ENABLE_PROFILING
- See Also:
-
JSON_PROPERTY_ENABLE_SECURITY_TESTING
- See Also:
-
JSON_PROPERTY_FOLLOW_REDIRECTS
- See Also:
-
JSON_PROPERTY_HTTP_VERSION
- See Also:
-
JSON_PROPERTY_IGNORE_SERVER_CERTIFICATE_ERROR
- See Also:
-
JSON_PROPERTY_IGNORE_CERTIFICATE_VALIDATION
- See Also:
-
JSON_PROPERTY_INITIAL_NAVIGATION_TIMEOUT
- See Also:
-
JSON_PROPERTY_MIN_FAILURE_DURATION
- See Also:
-
JSON_PROPERTY_MIN_LOCATION_FAILED
- See Also:
-
JSON_PROPERTY_MONITOR_NAME
- See Also:
-
JSON_PROPERTY_MONITOR_OPTIONS
- See Also:
-
JSON_PROPERTY_MONITOR_PRIORITY
- See Also:
-
JSON_PROPERTY_NO_SCREENSHOT
- See Also:
-
JSON_PROPERTY_RESTRICTED_ROLES
- See Also:
-
JSON_PROPERTY_RETRY
- See Also:
-
JSON_PROPERTY_RUM_SETTINGS
- See Also:
-
JSON_PROPERTY_SCHEDULING
- See Also:
-
JSON_PROPERTY_TICK_EVERY
- See Also:
-
-
Constructor Details
-
SyntheticsTestOptions
public SyntheticsTestOptions()
-
-
Method Details
-
acceptSelfSigned
-
getAcceptSelfSigned
For SSL tests, whether or not the test should allow self signed certificates.- Returns:
- acceptSelfSigned
-
setAcceptSelfSigned
-
allowInsecure
-
getAllowInsecure
Allows loading insecure content for an HTTP request in an API test.- Returns:
- allowInsecure
-
setAllowInsecure
-
blockedRequestPatterns
-
addBlockedRequestPatternsItem
-
getBlockedRequestPatterns
Array of URL patterns to block.- Returns:
- blockedRequestPatterns
-
setBlockedRequestPatterns
-
captureNetworkPayloads
-
getCaptureNetworkPayloads
Capture HTTP request/response headers and bodies for Fetch/XHR calls made during browser tests.- Returns:
- captureNetworkPayloads
-
setCaptureNetworkPayloads
-
checkCertificateRevocation
-
getCheckCertificateRevocation
For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.- Returns:
- checkCertificateRevocation
-
setCheckCertificateRevocation
-
ci
-
getCi
CI/CD options for a Synthetic test.- Returns:
- ci
-
setCi
-
deviceIds
-
addDeviceIdsItem
-
getDeviceIds
For browser test, array with the different device IDs used to run the test.- Returns:
- deviceIds
-
setDeviceIds
-
disableAiaIntermediateFetching
-
getDisableAiaIntermediateFetching
For SSL tests, whether or not the test should disable fetching intermediate certificates from AIA.- Returns:
- disableAiaIntermediateFetching
-
setDisableAiaIntermediateFetching
-
disableCors
-
getDisableCors
Whether or not to disable CORS mechanism.- Returns:
- disableCors
-
setDisableCors
-
disableCsp
-
getDisableCsp
Disable Content Security Policy for browser tests.- Returns:
- disableCsp
-
setDisableCsp
-
enableProfiling
-
getEnableProfiling
Enable profiling for browser tests.- Returns:
- enableProfiling
-
setEnableProfiling
-
enableSecurityTesting
-
getEnableSecurityTesting
Deprecated.Enable security testing for browser tests. Security testing is not available anymore. This field is deprecated and won't be used.- Returns:
- enableSecurityTesting
-
setEnableSecurityTesting
Deprecated. -
followRedirects
-
getFollowRedirects
For API HTTP test, whether or not the test should follow redirects.- Returns:
- followRedirects
-
setFollowRedirects
-
httpVersion
-
getHttpVersion
HTTP version to use for a Synthetic test.- Returns:
- httpVersion
-
setHttpVersion
-
ignoreServerCertificateError
-
getIgnoreServerCertificateError
Ignore server certificate error for browser tests.- Returns:
- ignoreServerCertificateError
-
setIgnoreServerCertificateError
-
ignoreCertificateValidation
-
getIgnoreCertificateValidation
For SSL tests, whether the test should ignore certificate validation.- Returns:
- ignoreCertificateValidation
-
setIgnoreCertificateValidation
-
minFailureDuration
-
getMinFailureDuration
Minimum amount of time in failure required to trigger an alert.- Returns:
- minFailureDuration
-
setMinFailureDuration
-
minLocationFailed
-
getMinLocationFailed
Minimum number of locations in failure required to trigger an alert.- Returns:
- minLocationFailed
-
setMinLocationFailed
-
monitorName
-
getMonitorName
The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.- Returns:
- monitorName
-
setMonitorName
-
monitorOptions
-
getMonitorOptions
Object containing the options for a Synthetic test as a monitor (for example, renotification).- Returns:
- monitorOptions
-
setMonitorOptions
-
monitorPriority
-
getMonitorPriority
Integer from 1 (high) to 5 (low) indicating alert severity. minimum: 1 maximum: 5- Returns:
- monitorPriority
-
setMonitorPriority
-
noScreenshot
-
getNoScreenshot
Prevents saving screenshots of the steps.- Returns:
- noScreenshot
-
setNoScreenshot
-
restrictedRoles
-
addRestrictedRolesItem
-
getRestrictedRoles
Deprecated.A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.- Returns:
- restrictedRoles
-
setRestrictedRoles
Deprecated. -
retry
-
getRetry
Object describing the retry strategy to apply to a Synthetic test.- Returns:
- retry
-
setRetry
-
rumSettings
-
getRumSettings
The RUM data collection settings for the Synthetic browser test. Note: There are 3 ways to format RUM settings:{ isEnabled: false }RUM data is not collected.{ isEnabled: true }RUM data is collected from the Synthetic test's default application.{ isEnabled: true, applicationId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", clientTokenId: 12345 }RUM data is collected using the specified application.- Returns:
- rumSettings
-
setRumSettings
-
scheduling
-
getScheduling
Object containing timeframes and timezone used for advanced scheduling.- Returns:
- scheduling
-
setScheduling
-
tickEvery
-
getTickEvery
The frequency at which to run the Synthetic test (in seconds). minimum: 30 maximum: 604800- Returns:
- tickEvery
-
setTickEvery
-
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:
- SyntheticsTestOptions
-
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 SyntheticsTestOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-