@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestOptions extends Object
| Constructor and Description |
|---|
SyntheticsTestOptions() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsTestOptions |
acceptSelfSigned(Boolean acceptSelfSigned) |
SyntheticsTestOptions |
addDeviceIdsItem(SyntheticsDeviceID deviceIdsItem) |
SyntheticsTestOptions |
addRestrictedRolesItem(String restrictedRolesItem) |
SyntheticsTestOptions |
allowInsecure(Boolean allowInsecure) |
SyntheticsTestOptions |
checkCertificateRevocation(Boolean checkCertificateRevocation) |
SyntheticsTestOptions |
ci(SyntheticsTestCiOptions ci) |
SyntheticsTestOptions |
deviceIds(List<SyntheticsDeviceID> deviceIds) |
SyntheticsTestOptions |
disableCors(Boolean disableCors) |
SyntheticsTestOptions |
disableCsp(Boolean disableCsp) |
SyntheticsTestOptions |
enableProfiling(Boolean enableProfiling) |
SyntheticsTestOptions |
enableSecurityTesting(Boolean enableSecurityTesting) |
boolean |
equals(Object o)
Return true if this SyntheticsTestOptions object is equal to o.
|
SyntheticsTestOptions |
followRedirects(Boolean followRedirects) |
Boolean |
getAcceptSelfSigned()
For SSL test, whether or not the test should allow self signed certificates.
|
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 an API test.
|
Boolean |
getCheckCertificateRevocation()
For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
|
SyntheticsTestCiOptions |
getCi()
CI/CD options for a Synthetic test.
|
List<SyntheticsDeviceID> |
getDeviceIds()
For browser test, array with the different device IDs used to run the test.
|
Boolean |
getDisableCors()
Whether or not to disable CORS mechanism.
|
Boolean |
getDisableCsp()
Disable Content Security Policy for browser tests.
|
Boolean |
getEnableProfiling()
Enable profiling for browser tests.
|
Boolean |
getEnableSecurityTesting()
Deprecated.
|
Boolean |
getFollowRedirects()
For API HTTP test, whether or not the test should follow redirects.
|
SyntheticsTestOptionsHTTPVersion |
getHttpVersion()
HTTP version to use for a Synthetic test.
|
Boolean |
getIgnoreServerCertificateError()
Ignore server certificate error for browser tests.
|
Long |
getInitialNavigationTimeout()
Timeout before declaring the initial step as failed (in seconds) for browser tests.
|
Long |
getMinFailureDuration()
Minimum amount of time in failure required to trigger an alert.
|
Long |
getMinLocationFailed()
Minimum number of locations in failure required to trigger an alert.
|
String |
getMonitorName()
The monitor name is used for the alert title as well as for all monitor dashboard widgets and
SLOs.
|
SyntheticsTestOptionsMonitorOptions |
getMonitorOptions()
Object containing the options for a Synthetic test as a monitor (for example, renotification).
|
Integer |
getMonitorPriority()
Integer from 1 (high) to 5 (low) indicating alert severity.
|
Boolean |
getNoScreenshot()
Prevents saving screenshots of the steps.
|
List<String> |
getRestrictedRoles()
A list of role identifiers that can be pulled from the Roles API, for restricting read and
write access.
|
SyntheticsTestOptionsRetry |
getRetry()
Object describing the retry strategy to apply to a Synthetic test.
|
SyntheticsBrowserTestRumSettings |
getRumSettings()
The RUM data collection settings for the Synthetic browser test.
|
SyntheticsTestOptionsScheduling |
getScheduling()
Object containing timeframes and timezone used for advanced scheduling.
|
Long |
getTickEvery()
The frequency at which to run the Synthetic test (in seconds).
|
int |
hashCode() |
SyntheticsTestOptions |
httpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) |
SyntheticsTestOptions |
ignoreServerCertificateError(Boolean ignoreServerCertificateError) |
SyntheticsTestOptions |
initialNavigationTimeout(Long initialNavigationTimeout) |
SyntheticsTestOptions |
minFailureDuration(Long minFailureDuration) |
SyntheticsTestOptions |
minLocationFailed(Long minLocationFailed) |
SyntheticsTestOptions |
monitorName(String monitorName) |
SyntheticsTestOptions |
monitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) |
SyntheticsTestOptions |
monitorPriority(Integer monitorPriority) |
SyntheticsTestOptions |
noScreenshot(Boolean noScreenshot) |
SyntheticsTestOptions |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsTestOptions |
restrictedRoles(List<String> restrictedRoles) |
SyntheticsTestOptions |
retry(SyntheticsTestOptionsRetry retry) |
SyntheticsTestOptions |
rumSettings(SyntheticsBrowserTestRumSettings rumSettings) |
SyntheticsTestOptions |
scheduling(SyntheticsTestOptionsScheduling scheduling) |
void |
setAcceptSelfSigned(Boolean acceptSelfSigned) |
void |
setAllowInsecure(Boolean allowInsecure) |
void |
setCheckCertificateRevocation(Boolean checkCertificateRevocation) |
void |
setCi(SyntheticsTestCiOptions ci) |
void |
setDeviceIds(List<SyntheticsDeviceID> deviceIds) |
void |
setDisableCors(Boolean disableCors) |
void |
setDisableCsp(Boolean disableCsp) |
void |
setEnableProfiling(Boolean enableProfiling) |
void |
setEnableSecurityTesting(Boolean enableSecurityTesting)
Deprecated.
|
void |
setFollowRedirects(Boolean followRedirects) |
void |
setHttpVersion(SyntheticsTestOptionsHTTPVersion httpVersion) |
void |
setIgnoreServerCertificateError(Boolean ignoreServerCertificateError) |
void |
setInitialNavigationTimeout(Long initialNavigationTimeout) |
void |
setMinFailureDuration(Long minFailureDuration) |
void |
setMinLocationFailed(Long minLocationFailed) |
void |
setMonitorName(String monitorName) |
void |
setMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) |
void |
setMonitorPriority(Integer monitorPriority) |
void |
setNoScreenshot(Boolean noScreenshot) |
void |
setRestrictedRoles(List<String> restrictedRoles) |
void |
setRetry(SyntheticsTestOptionsRetry retry) |
void |
setRumSettings(SyntheticsBrowserTestRumSettings rumSettings) |
void |
setScheduling(SyntheticsTestOptionsScheduling scheduling) |
void |
setTickEvery(Long tickEvery) |
SyntheticsTestOptions |
tickEvery(Long tickEvery) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACCEPT_SELF_SIGNED
public static final String JSON_PROPERTY_ALLOW_INSECURE
public static final String JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION
public static final String JSON_PROPERTY_CI
public static final String JSON_PROPERTY_DEVICE_IDS
public static final String JSON_PROPERTY_DISABLE_CORS
public static final String JSON_PROPERTY_DISABLE_CSP
public static final String JSON_PROPERTY_ENABLE_PROFILING
public static final String JSON_PROPERTY_ENABLE_SECURITY_TESTING
public static final String JSON_PROPERTY_FOLLOW_REDIRECTS
public static final String JSON_PROPERTY_HTTP_VERSION
public static final String JSON_PROPERTY_IGNORE_SERVER_CERTIFICATE_ERROR
public static final String JSON_PROPERTY_INITIAL_NAVIGATION_TIMEOUT
public static final String JSON_PROPERTY_MIN_FAILURE_DURATION
public static final String JSON_PROPERTY_MIN_LOCATION_FAILED
public static final String JSON_PROPERTY_MONITOR_NAME
public static final String JSON_PROPERTY_MONITOR_OPTIONS
public static final String JSON_PROPERTY_MONITOR_PRIORITY
public static final String JSON_PROPERTY_NO_SCREENSHOT
public static final String JSON_PROPERTY_RESTRICTED_ROLES
public static final String JSON_PROPERTY_RETRY
public static final String JSON_PROPERTY_RUM_SETTINGS
public static final String JSON_PROPERTY_SCHEDULING
public static final String JSON_PROPERTY_TICK_EVERY
public SyntheticsTestOptions acceptSelfSigned(Boolean acceptSelfSigned)
@Nullable public Boolean getAcceptSelfSigned()
public void setAcceptSelfSigned(Boolean acceptSelfSigned)
public SyntheticsTestOptions allowInsecure(Boolean allowInsecure)
@Nullable public Boolean getAllowInsecure()
public void setAllowInsecure(Boolean allowInsecure)
public SyntheticsTestOptions checkCertificateRevocation(Boolean checkCertificateRevocation)
@Nullable public Boolean getCheckCertificateRevocation()
public void setCheckCertificateRevocation(Boolean checkCertificateRevocation)
public SyntheticsTestOptions ci(SyntheticsTestCiOptions ci)
@Nullable public SyntheticsTestCiOptions getCi()
public void setCi(SyntheticsTestCiOptions ci)
public SyntheticsTestOptions deviceIds(List<SyntheticsDeviceID> deviceIds)
public SyntheticsTestOptions addDeviceIdsItem(SyntheticsDeviceID deviceIdsItem)
@Nullable public List<SyntheticsDeviceID> getDeviceIds()
public void setDeviceIds(List<SyntheticsDeviceID> deviceIds)
public SyntheticsTestOptions disableCors(Boolean disableCors)
@Nullable public Boolean getDisableCors()
public void setDisableCors(Boolean disableCors)
public SyntheticsTestOptions disableCsp(Boolean disableCsp)
@Nullable public Boolean getDisableCsp()
public void setDisableCsp(Boolean disableCsp)
public SyntheticsTestOptions enableProfiling(Boolean enableProfiling)
@Nullable public Boolean getEnableProfiling()
public void setEnableProfiling(Boolean enableProfiling)
public SyntheticsTestOptions enableSecurityTesting(Boolean enableSecurityTesting)
@Deprecated @Nullable public Boolean getEnableSecurityTesting()
@Deprecated public void setEnableSecurityTesting(Boolean enableSecurityTesting)
public SyntheticsTestOptions followRedirects(Boolean followRedirects)
@Nullable public Boolean getFollowRedirects()
public void setFollowRedirects(Boolean followRedirects)
public SyntheticsTestOptions httpVersion(SyntheticsTestOptionsHTTPVersion httpVersion)
@Nullable public SyntheticsTestOptionsHTTPVersion getHttpVersion()
public void setHttpVersion(SyntheticsTestOptionsHTTPVersion httpVersion)
public SyntheticsTestOptions ignoreServerCertificateError(Boolean ignoreServerCertificateError)
@Nullable public Boolean getIgnoreServerCertificateError()
public void setIgnoreServerCertificateError(Boolean ignoreServerCertificateError)
public SyntheticsTestOptions initialNavigationTimeout(Long initialNavigationTimeout)
@Nullable public Long getInitialNavigationTimeout()
public void setInitialNavigationTimeout(Long initialNavigationTimeout)
public SyntheticsTestOptions minFailureDuration(Long minFailureDuration)
@Nullable public Long getMinFailureDuration()
public void setMinFailureDuration(Long minFailureDuration)
public SyntheticsTestOptions minLocationFailed(Long minLocationFailed)
@Nullable public Long getMinLocationFailed()
public void setMinLocationFailed(Long minLocationFailed)
public SyntheticsTestOptions monitorName(String monitorName)
@Nullable public String getMonitorName()
public void setMonitorName(String monitorName)
public SyntheticsTestOptions monitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions)
@Nullable public SyntheticsTestOptionsMonitorOptions getMonitorOptions()
public void setMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions)
public SyntheticsTestOptions monitorPriority(Integer monitorPriority)
@Nullable public Integer getMonitorPriority()
public void setMonitorPriority(Integer monitorPriority)
public SyntheticsTestOptions noScreenshot(Boolean noScreenshot)
@Nullable public Boolean getNoScreenshot()
public void setNoScreenshot(Boolean noScreenshot)
public SyntheticsTestOptions restrictedRoles(List<String> restrictedRoles)
public SyntheticsTestOptions addRestrictedRolesItem(String restrictedRolesItem)
@Nullable public List<String> getRestrictedRoles()
public SyntheticsTestOptions retry(SyntheticsTestOptionsRetry retry)
@Nullable public SyntheticsTestOptionsRetry getRetry()
public void setRetry(SyntheticsTestOptionsRetry retry)
public SyntheticsTestOptions rumSettings(SyntheticsBrowserTestRumSettings rumSettings)
@Nullable public SyntheticsBrowserTestRumSettings getRumSettings()
{ 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.
public void setRumSettings(SyntheticsBrowserTestRumSettings rumSettings)
public SyntheticsTestOptions scheduling(SyntheticsTestOptionsScheduling scheduling)
@Nullable public SyntheticsTestOptionsScheduling getScheduling()
public void setScheduling(SyntheticsTestOptionsScheduling scheduling)
public SyntheticsTestOptions tickEvery(Long tickEvery)
@Nullable public Long getTickEvery()
public void setTickEvery(Long tickEvery)
public SyntheticsTestOptions 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.