Package com.datadog.api.client.v1.model
Class SyntheticsMobileTestOptions
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsMobileTestOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsMobileTestOptions
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 Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsMobileTestOptions(List<String> deviceIds, SyntheticsMobileTestsMobileApplication mobileApplication, Long tickEvery) -
Method Summary
Modifier and TypeMethodDescriptionaddBindingsItem(SyntheticsTestRestrictionPolicyBinding bindingsItem) addDeviceIdsItem(String deviceIdsItem) addRestrictedRolesItem(String restrictedRolesItem) allowApplicationCrash(Boolean allowApplicationCrash) bindings(List<SyntheticsTestRestrictionPolicyBinding> bindings) defaultStepTimeout(Integer defaultStepTimeout) disableAutoAcceptAlert(Boolean disableAutoAcceptAlert) booleanReturn true if this SyntheticsMobileTestOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A boolean to set if an application crash would mark the test as failed.Array of bindings used for the mobile test.getCi()CI/CD options for a Synthetic test.The default timeout for steps in the test (in seconds).For mobile test, array with the different device IDs used to run the test.A boolean to disable auto accepting alerts.Minimum amount of time in failure required to trigger an alert.Mobile application for mobile synthetics test.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.A boolean set to not take a screenshot for the step.Deprecated.getRetry()Object describing the retry strategy to apply to a Synthetic test.Object containing timeframes and timezone used for advanced scheduling.The frequency at which to run the Synthetic test (in seconds).The level of verbosity for the mobile test.inthashCode()minFailureDuration(Long minFailureDuration) mobileApplication(SyntheticsMobileTestsMobileApplication mobileApplication) 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) scheduling(SyntheticsTestOptionsScheduling scheduling) voidsetAllowApplicationCrash(Boolean allowApplicationCrash) voidvoidvoidsetDefaultStepTimeout(Integer defaultStepTimeout) voidsetDeviceIds(List<String> deviceIds) voidsetDisableAutoAcceptAlert(Boolean disableAutoAcceptAlert) voidsetMinFailureDuration(Long minFailureDuration) voidsetMobileApplication(SyntheticsMobileTestsMobileApplication mobileApplication) voidsetMonitorName(String monitorName) voidsetMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) voidsetMonitorPriority(Integer monitorPriority) voidsetNoScreenshot(Boolean noScreenshot) voidsetRestrictedRoles(List<String> restrictedRoles) Deprecated.voidvoidsetScheduling(SyntheticsTestOptionsScheduling scheduling) voidsetTickEvery(Long tickEvery) voidsetVerbosity(Integer verbosity) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_APPLICATION_CRASH
- See Also:
-
JSON_PROPERTY_BINDINGS
- See Also:
-
JSON_PROPERTY_CI
- See Also:
-
JSON_PROPERTY_DEFAULT_STEP_TIMEOUT
- See Also:
-
JSON_PROPERTY_DEVICE_IDS
- See Also:
-
JSON_PROPERTY_DISABLE_AUTO_ACCEPT_ALERT
- See Also:
-
JSON_PROPERTY_MIN_FAILURE_DURATION
- See Also:
-
JSON_PROPERTY_MOBILE_APPLICATION
- 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_SCHEDULING
- See Also:
-
JSON_PROPERTY_TICK_EVERY
- See Also:
-
JSON_PROPERTY_VERBOSITY
- See Also:
-
-
Constructor Details
-
SyntheticsMobileTestOptions
public SyntheticsMobileTestOptions() -
SyntheticsMobileTestOptions
public SyntheticsMobileTestOptions(List<String> deviceIds, SyntheticsMobileTestsMobileApplication mobileApplication, Long tickEvery)
-
-
Method Details
-
allowApplicationCrash
-
getAllowApplicationCrash
A boolean to set if an application crash would mark the test as failed.- Returns:
- allowApplicationCrash
-
setAllowApplicationCrash
-
bindings
-
addBindingsItem
public SyntheticsMobileTestOptions addBindingsItem(SyntheticsTestRestrictionPolicyBinding bindingsItem) -
getBindings
Array of bindings used for the mobile test.- Returns:
- bindings
-
setBindings
-
ci
-
getCi
CI/CD options for a Synthetic test.- Returns:
- ci
-
setCi
-
defaultStepTimeout
-
getDefaultStepTimeout
The default timeout for steps in the test (in seconds). minimum: 1 maximum: 300- Returns:
- defaultStepTimeout
-
setDefaultStepTimeout
-
deviceIds
-
addDeviceIdsItem
-
getDeviceIds
For mobile test, array with the different device IDs used to run the test.- Returns:
- deviceIds
-
setDeviceIds
-
disableAutoAcceptAlert
-
getDisableAutoAcceptAlert
A boolean to disable auto accepting alerts.- Returns:
- disableAutoAcceptAlert
-
setDisableAutoAcceptAlert
-
minFailureDuration
-
getMinFailureDuration
Minimum amount of time in failure required to trigger an alert. minimum: 0 maximum: 7200- Returns:
- minFailureDuration
-
setMinFailureDuration
-
mobileApplication
public SyntheticsMobileTestOptions mobileApplication(SyntheticsMobileTestsMobileApplication mobileApplication) -
getMobileApplication
Mobile application for mobile synthetics test.- Returns:
- mobileApplication
-
setMobileApplication
-
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
public SyntheticsMobileTestOptions monitorOptions(SyntheticsTestOptionsMonitorOptions 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
A boolean set to not take a screenshot for the step.- 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
-
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: 300 maximum: 604800- Returns:
- tickEvery
-
setTickEvery
-
verbosity
-
getVerbosity
The level of verbosity for the mobile test. This field can not be set by a user. minimum: 0 maximum: 5- Returns:
- verbosity
-
setVerbosity
-
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:
- SyntheticsMobileTestOptions
-
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 SyntheticsMobileTestOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-